aboutsummaryrefslogtreecommitdiffstats
path: root/test/vcpe/vcpe_custom_service.py
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2019-11-07 12:44:46 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2019-11-19 13:59:46 +0000
commit19199daa61a83f6bc5e6f8fc3965f13f09f2d7ed (patch)
tree33d5ef9aeddd5bcea167a70b07350b70b996af5a /test/vcpe/vcpe_custom_service.py
parentf816c306b95ab83cc3b5da5991526ce43c7808a4 (diff)
Get the BRG MAC address automatically
Sdnc db port was also adjusted as there's no sdnc-db service anymore (since OOM-1651) Change-Id: I154463224777f6fd76f5380253aa9130224fe3e4 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1365
Diffstat (limited to 'test/vcpe/vcpe_custom_service.py')
-rwxr-xr-xtest/vcpe/vcpe_custom_service.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/vcpe/vcpe_custom_service.py b/test/vcpe/vcpe_custom_service.py
index e2681fd11..b3a26d174 100755
--- a/test/vcpe/vcpe_custom_service.py
+++ b/test/vcpe/vcpe_custom_service.py
@@ -68,10 +68,7 @@ class CustomService:
def create_custom_service(self, csar_file, vgw_template_file, vgw_gra_template_file, preload_dict=None):
name_suffix = datetime.now().strftime('%Y%m%d%H%M')
- if self.vcpecommon.oom_mode:
- brg_mac = str(raw_input("Enter the BRG MAC address: "))
- else:
- brg_mac = self.vcpecommon.get_brg_mac_from_sdnc()
+ brg_mac = self.vcpecommon.get_brg_mac_from_sdnc()
brg_mac_enc = brg_mac.replace(':', '-')
# get name index
self.vgw_vfmod_name_index= self.vcpecommon.load_object(self.vcpecommon.vgw_vfmod_name_index_file)