Making external network configuration in local.conf optional
It will check if all external network configuration there. If it's there installation will create external network, nat-pool, nsp. Otherwise, installation will skip creation of external network, nat-pool, nsp. Change-Id: I821aa7e33cd973ef1390212b17000f77cb17943b Closes-Bug: 1638854
This commit is contained in:
committed by
Subrahmanyam Ongole
parent
3306efd31d
commit
f1448c5b13
@@ -125,7 +125,7 @@ function create_ep_and_nsp {
|
||||
default
|
||||
|
||||
gbp nsp-create\
|
||||
--network-service-params type=ip_pool,name=vip_ip,value=nat_pool\
|
||||
--network-service-params type=ip_pool,name=fip,value=nat_pool\
|
||||
svc_mgmt_fip_policy
|
||||
}
|
||||
|
||||
@@ -191,9 +191,10 @@ function create_nfp_gbp_resources {
|
||||
--service-flavor service_vendor=vyos,device_type=nova\
|
||||
--vendor NFP\
|
||||
vpn_profile
|
||||
|
||||
create_ext_net
|
||||
create_ep_and_nsp
|
||||
if [[ $EXT_NET_GATEWAY && $EXT_NET_ALLOCATION_POOL_START && $EXT_NET_ALLOCATION_POOL_END && $EXT_NET_CIDR ]]; then
|
||||
create_ext_net
|
||||
create_ep_and_nsp
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user