Interface AclPortsByIp

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

    public interface AclPortsByIp
    extends org.opendaylight.yangtools.yang.binding.ChildOf<AclPortsLookup>, org.opendaylight.yangtools.yang.binding.Augmentable<AclPortsByIp>, org.opendaylight.yangtools.yang.binding.Identifiable<AclPortsByIpKey>
    Refers to an ACL which are associated with list of ports filtered based on IP address/prefix.

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

     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/acl-ports-by-ip

    To create instances of this class use AclPortsByIpBuilder.

    See Also:
    AclPortsByIpBuilder, AclPortsByIpKey
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable java.lang.String getAclName()
        ACL name.
        Returns:
        java.lang.String aclName, or null if not present
      • getAclIpPrefixes

        @Nullable java.util.List<AclIpPrefixes> getAclIpPrefixes()
        IP Prefixes and Allowed-Address-Pairs owned by ports where all such ports enforce the same ACL identified by acl-name
        Returns:
        java.util.List aclIpPrefixes, or null if not present
      • nonnullAclIpPrefixes

        default @NonNull java.util.List<AclIpPrefixes> nonnullAclIpPrefixes()
        Returns:
        java.util.List aclIpPrefixes, or an empty list if it is not present