Hi Brian,

Sorry for the typo, I mean vcpe.py script.

so for the vcpe.py script I have the lines you mentioned in the 
*deploy_brg_only* function, as shown below.

*def* deploy_brg_only():
logger = logging.getLogger(__name__)

vcpecommon = VcpeCommon()
preload_dict = vcpecommon.load_preload_data()
#    name_suffix = preload_dict['${brg_bng_net}'].split('_')[-1]
*name_suffix = datetime.now().strftime('%Y%m%d%H%M')*

# create multiple services based on the pre-determined order
svc_instance_uuid = vcpecommon.load_object(vcpecommon.svc_instance_uuid_file)
for keyword in ['brg']:
heatbridge = 'gmux' == keyword
csar_file = vcpecommon.find_file(keyword, 'csar', 'csar')
vnf_template_file = vcpecommon.find_file(keyword, 'json', 'preload_templates')
vcpecommon.increase_ip_address_or_vni_in_template(vnf_template_file, 
['vbrgemu_private_ip_0'])
svc_instance_uuid[keyword] = create_one_service(vcpecommon, csar_file, 
vnf_template_file, preload_dict,
name_suffix, heatbridge)
if not svc_instance_uuid[keyword]:
sys.exit()

And for the line network_name = 
'_'.join([self.vcpecommon.instance_name_prefix['network'], 
network_role.lower(), name_suffix]) line, it is in *preload.py* script and 
*soutils.py* script.

Thanks,
Kamel

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#18933): https://lists.onap.org/g/onap-discuss/message/18933
Mute This Topic: https://lists.onap.org/mt/34107360/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to