legacy netvirt: forcibly disable port security for network port 83/48383/2
authorIsaku Yamahata <isaku.yamahata@intel.com>
Tue, 15 Nov 2016 10:41:50 +0000 (02:41 -0800)
committerSam Hague <shague@redhat.com>
Fri, 18 Nov 2016 22:57:16 +0000 (22:57 +0000)
commite299384166b2f57f6e674ca8c24d83a6ad3cf1d8
tree56e8be34642c6c7689cc7a861391730beb356af7
parentc0db2cde3b1d481752c952bbd0a30374523b0b57
legacy netvirt: forcibly disable port security for network port

Security group applies to only VM port. Not to internal used port.
router interface port, dhc port and floating ip port.
which can be identified by its device owner.
"network:{routerxxx, dhcp, floatingip}"
It can be realized by forcibly disabling port security on those port.

With port security extension enabled, neutron disabled port security.
The extension is, however, optional, so ODL shouldn't depend on it.

Partial-bug: #7128
Change-Id: I3295ebc0e77d387cdfb80be318ef048ba9763994
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
(cherry picked from commit 5da83fc96656d5be54b3451a2f221a2e780e52d4)
openstack/net-virt/src/main/java/org/opendaylight/netvirt/openstack/netvirt/translator/NeutronPort.java