Interface Address
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
SetNextHopAction,SetNwDstAction,SetNwSrcAction
@Generated("mdsal-binding-generator")
public interface Address
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module opendaylight-action-types
grouping address {
choice address {
case ipv4 {
leaf ipv4-address {
type inet:ipv4-prefix;
}
}
case ipv6 {
leaf ipv6-address {
type inet:ipv6-prefix;
}
}
}
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn address, ornullif it is not present.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getAddress
Address getAddress()Return address, ornullif it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.address.Addressaddress, ornullif it is not present.
-