Interface InterfaceAcl
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentation<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface InterfaceAcl extends org.opendaylight.yangtools.yang.binding.Augmentation<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
InterfaceAcl.InterfaceType
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description static boolean
bindingEquals(@NonNull InterfaceAcl thisObj, java.lang.Object obj)
Default implementation ofObject.equals(Object)
contract for this interface.static int
bindingHashCode(@NonNull InterfaceAcl obj)
Default implementation ofObject.hashCode()
contract for this interface.static java.lang.String
bindingToString(@NonNull InterfaceAcl obj)
Default implementation ofObject.toString()
contract for this interface.@Nullable java.util.Map<AllowedAddressPairsKey,AllowedAddressPairs>
getAllowedAddressPairs()
Return allowedAddressPairs, ornull
if it is not present.InterfaceAcl.InterfaceType
getInterfaceType()
Return interfaceType, ornull
if it is not present.java.lang.Boolean
getPortSecurityEnabled()
Return portSecurityEnabled, ornull
if it is not present.@Nullable java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid>
getSecurityGroups()
Return securityGroups, ornull
if it is not present.@Nullable java.util.Map<SubnetInfoKey,SubnetInfo>
getSubnetInfo()
Return subnetInfo, ornull
if it is not present.default java.lang.Class<InterfaceAcl>
implementedInterface()
default java.lang.Boolean
isPortSecurityEnabled()
Deprecated, for removal: This API element is subject to removal in a future version.default @NonNull java.util.Map<AllowedAddressPairsKey,AllowedAddressPairs>
nonnullAllowedAddressPairs()
Return allowedAddressPairs, or an empty list if it is not present.default @NonNull java.util.Map<SubnetInfoKey,SubnetInfo>
nonnullSubnetInfo()
Return subnetInfo, or an empty list if it is not present.
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<InterfaceAcl> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.Augmentation<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
bindingHashCode
static int bindingHashCode(@NonNull InterfaceAcl obj)
Default implementation ofObject.hashCode()
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.- Parameters:
obj
- Object for which to generate hashCode() result.- Returns:
- Hash code value of data modeled by this interface.
- Throws:
java.lang.NullPointerException
- ifobj
is null
-
bindingEquals
static boolean bindingEquals(@NonNull InterfaceAcl thisObj, java.lang.Object obj)
Default implementation ofObject.equals(Object)
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.- Parameters:
thisObj
- Object acting as the receiver of equals invocationobj
- Object acting as argument to equals invocation- Returns:
- True if thisObj and obj are considered equal
- Throws:
java.lang.NullPointerException
- ifthisObj
is null
-
bindingToString
static java.lang.String bindingToString(@NonNull InterfaceAcl obj)
Default implementation ofObject.toString()
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.- Parameters:
obj
- Object for which to generate toString() result.- Returns:
String
value of data modeled by this interface.- Throws:
java.lang.NullPointerException
- ifobj
is null
-
getPortSecurityEnabled
java.lang.Boolean getPortSecurityEnabled()
Return portSecurityEnabled, ornull
if it is not present.The port security status. The status is enabled (true) or disabled (false).
- Returns:
java.lang.Boolean
portSecurityEnabled, ornull
if it is not present.
-
isPortSecurityEnabled
@Deprecated(forRemoval=true) default java.lang.Boolean isPortSecurityEnabled()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getSecurityGroups
@Nullable java.util.List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> getSecurityGroups()
Return securityGroups, ornull
if it is not present.The security group ID to associate with this interface.
- Returns:
java.util.List
securityGroups, ornull
if it is not present.
-
getAllowedAddressPairs
@Nullable java.util.Map<AllowedAddressPairsKey,AllowedAddressPairs> getAllowedAddressPairs()
Return allowedAddressPairs, ornull
if it is not present.Allowed address pairs for this interface.
- Returns:
java.util.Map
allowedAddressPairs, ornull
if it is not present.
-
nonnullAllowedAddressPairs
default @NonNull java.util.Map<AllowedAddressPairsKey,AllowedAddressPairs> nonnullAllowedAddressPairs()
Return allowedAddressPairs, or an empty list if it is not present.- Returns:
java.util.Map
allowedAddressPairs, or an empty list if it is not present.
-
getInterfaceType
InterfaceAcl.InterfaceType getInterfaceType()
Return interfaceType, ornull
if it is not present.Interface type.
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.aclservice.rev160608.InterfaceAcl.InterfaceType
interfaceType, ornull
if it is not present.
-
getSubnetInfo
@Nullable java.util.Map<SubnetInfoKey,SubnetInfo> getSubnetInfo()
Return subnetInfo, ornull
if it is not present.- Returns:
java.util.Map
subnetInfo, ornull
if it is not present.
-
nonnullSubnetInfo
default @NonNull java.util.Map<SubnetInfoKey,SubnetInfo> nonnullSubnetInfo()
Return subnetInfo, or an empty list if it is not present.- Returns:
java.util.Map
subnetInfo, or an empty list if it is not present.
-
-