summaryrefslogtreecommitdiffstats
path: root/deploy/config
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2017-03-24 14:51:32 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2017-03-24 14:51:32 +0800
commit2a710a61e3b560c2d39cb759f5d9ac1da21d34c4 (patch)
tree92c6fcb5f764cf97f618cee79cc232de433a236a /deploy/config
parentbbef0fa1fb89a90a98e66ece5b19852bcf3f2332 (diff)
unify the way of obtaining network configuration
Change-Id: Idd960d7faf0f24ae8caac13562858ccaa1c67f7b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'deploy/config')
-rw-r--r--deploy/config/network.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/deploy/config/network.py b/deploy/config/network.py
index 9f03bc15..cd38e94d 100644
--- a/deploy/config/network.py
+++ b/deploy/config/network.py
@@ -64,11 +64,3 @@ class NetworkConfig(object):
prefix = self.type2name[network_type]
name = '{}_{}'.format(prefix, field) if field else prefix
setattr(self, name, value)
-
- @property
- def external_network(self):
- return self._get_network('EXTERNAL')
-
- @property
- def external_name(self):
- return self.external_network['network_name']