tempest.scenario.test_port_security_macspoofing_port
On port-security update bind/ubind service is now called.
Change-Id: I46cfae8b13a3f67647bfc501b3e55faf8c827a37
Signed-off-by: Aswin Suryanarayanan <asuryana@redhat.com>
(cherry picked from commit
9a9c988bfa3574126b38003d5a8eb713536809c2)
// if port security is changed, apply/remove Acls
if (isPortSecurityEnableBefore != isPortSecurityEnable) {
if (isPortSecurityEnable) {
- result = applyAcl(portAfter);
+ result = applyAcl(portAfter) && bindAcl(portAfter);
} else {
- result = removeAcl(portAfter);
+ result = removeAcl(portAfter) && unbindAcl(portAfter);
}
} else if (isPortSecurityEnable) {
// Acls has been updated, find added/removed Acls and act accordingly.