Feature : https://osm.etsi.org/gerrit/#/c/7326
Introducing a new VIM config parameter for openstack VIM,
disable_network_port_security
This will allow to disable the port security while creating networks in openstack
To be used for VIM which has port security extension but do not support port security
(Network creation fails with error that Port security is not supported)
Change-Id: I3822f0d76450cceec50fc757ad273ab11f414d13
Signed-off-by: anwars <anwars@vmware.com>
network_dict["provider:segmentation_id"] = self._generate_vlanID()
network_dict["shared"] = shared
+ if self.config.get("disable_network_port_security"):
+ network_dict["port_security_enabled"] = False
new_net = self.neutron.create_network({'network':network_dict})
# print new_net
# create subnetwork, even if there is no profile