X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=openstack%2Fnet-virt-providers%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fovsdb%2Fopenstack%2Fnetvirt%2Fproviders%2Fopenflow13%2Fservices%2FIngressAclService.java;h=d100f4e6daf96205aeae722195e0f07623a382e6;hb=30ca667e1d9935b91ae02874379c65f9637f2f38;hp=1f3c7f42704851c70d47b2c7166ffb4ab6252657;hpb=42e693c0e5abd1a6c0bdef98c6a5bb0bfc649b98;p=ovsdb.git diff --git a/openstack/net-virt-providers/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/providers/openflow13/services/IngressAclService.java b/openstack/net-virt-providers/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/providers/openflow13/services/IngressAclService.java index 1f3c7f427..d100f4e6d 100644 --- a/openstack/net-virt-providers/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/providers/openflow13/services/IngressAclService.java +++ b/openstack/net-virt-providers/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/providers/openflow13/services/IngressAclService.java @@ -85,6 +85,12 @@ public class IngressAclService extends AbstractServiceInstance implements Ingres * */ + if (portSecurityRule == null || + portSecurityRule.getSecurityRuleEthertype() == null || + portSecurityRule.getSecurityRuleDirection() == null) { + continue; + } + if ("IPv4".equals(portSecurityRule.getSecurityRuleEthertype()) && "ingress".equals(portSecurityRule.getSecurityRuleDirection())) { LOG.debug("programPortSecurityGroup: Rule matching IPv4 and ingress is: {} ", portSecurityRule);