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-ipTo create instances of this class use
AclPortsByIpBuilder.- See Also:
AclPortsByIpBuilder,AclPortsByIpKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @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@Nullable java.lang.StringgetAclName()ACL name.default java.lang.Class<AclPortsByIp>implementedInterface()AclPortsByIpKeykey()default @NonNull java.util.List<AclIpPrefixes>nonnullAclIpPrefixes()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<AclPortsByIp> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getAclName
@Nullable java.lang.String getAclName()
ACL name.- Returns:
java.lang.StringaclName, ornullif 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.ListaclIpPrefixes, ornullif not present
-
nonnullAclIpPrefixes
default @NonNull java.util.List<AclIpPrefixes> nonnullAclIpPrefixes()
- Returns:
java.util.ListaclIpPrefixes, or an empty list if it is not present
-
key
AclPortsByIpKey key()
- Specified by:
keyin interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<AclPortsByIpKey>
-
-