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.QName
QNAME
-
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.String
getAclName()
ACL name.default java.lang.Class<AclPortsByIp>
implementedInterface()
AclPortsByIpKey
key()
default @NonNull java.util.List<AclIpPrefixes>
nonnullAclIpPrefixes()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<AclPortsByIp> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getAclName
@Nullable java.lang.String getAclName()
ACL name.- Returns:
java.lang.String
aclName
, ornull
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
, ornull
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
-
key
AclPortsByIpKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<AclPortsByIpKey>
-
-