Interface AclPortsLookup

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<AclPortsLookup>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<AclserviceData>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface AclPortsLookup
    extends org.opendaylight.yangtools.yang.binding.ChildOf<AclserviceData>, org.opendaylight.yangtools.yang.binding.Augmentable<AclPortsLookup>
    Container used to manage list of ports per ACL based on port's IP (including IP address/prefix specified in allowed-address-pair)

    This class represents the following YANG schema fragment defined in module aclservice

     container acl-ports-lookup {
       config false;
       list acl-ports-by-ip {
         key acl-name;
         leaf acl-name {
           type string;
         }
         list acl-ip-prefixes {
           key ip-prefix;
           leaf ip-prefix {
             type ip-prefix-or-address;
           }
           list port-ids {
             key port-id;
             leaf port-id {
               type string;
             }
           }
         }
       }
     }
     
    The schema path to identify an instance is aclservice/acl-ports-lookup

    To create instances of this class use AclPortsLookupBuilder.

    See Also:
    AclPortsLookupBuilder
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default java.lang.Class<AclPortsLookup> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getAclPortsByIp

        @Nullable java.util.List<AclPortsByIp> getAclPortsByIp()
        Refers to an ACL which are associated with list of ports filtered based on IP address/prefix.
        Returns:
        java.util.List aclPortsByIp, or null if not present
      • nonnullAclPortsByIp

        default @NonNull java.util.List<AclPortsByIp> nonnullAclPortsByIp()
        Returns:
        java.util.List aclPortsByIp, or an empty list if it is not present