Interface VpnserviceAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Vpnservice
@Generated("mdsal-binding-generator") public interface VpnserviceAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module neutron-vpnaas
grouping vpnservice-attributes { leaf router-id { type yang:uuid; } leaf subnet-id { type yang:uuid; } }
The schema path to identify an instance is neutron-vpnaas/vpnservice-attributes
-
-
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 org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getRouterId()
Return routerId, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getSubnetId()
Return subnetId, ornull
if it is not present.Class<? extends VpnserviceAttributes>
implementedInterface()
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
requireRouterId()
Return routerId, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
requireSubnetId()
Return subnetId, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends VpnserviceAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getRouterId
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getRouterId()
Return routerId, ornull
if it is not present.Contains the Router ID for the vpn service.
- Returns:
Uuid
routerId, ornull
if it is not present.
-
requireRouterId
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid requireRouterId()
Return routerId, guaranteed to be non-null.Contains the Router ID for the vpn service.
- Returns:
Uuid
routerId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if routerId is not present
-
getSubnetId
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getSubnetId()
Return subnetId, ornull
if it is not present.Contains the Subnet ID for the vpn service.
- Returns:
Uuid
subnetId, ornull
if it is not present.
-
requireSubnetId
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid requireSubnetId()
Return subnetId, guaranteed to be non-null.Contains the Subnet ID for the vpn service.
- Returns:
Uuid
subnetId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if subnetId is not present
-
-