Interface InstanceEndpointLocalRemote
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Config
,InstanceEndpointConfig
,State
public interface InstanceEndpointLocalRemote extends org.opendaylight.yangtools.yang.binding.DataObject
A generic specification of a local or remote endpointThis class represents the following YANG schema fragment defined in module openconfig-network-instance
grouping instance-endpoint-local-remote { choice local-remote { case local { leaf interface { type leafref { path /network-instances/network-instance/interfaces/config/interface; } } } case remote { leaf neighbor { type inet:ip-address; } leaf virtual-circuit-identifier { type uint32; } } } }
The schema path to identify an instance is openconfig-network-instance/instance-endpoint-local-remote
-
-
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 Modifier and Type Method Description LocalRemote
getLocalRemote()
Configuration relating to an endpoint which can either be local (an interface), or remote.Class<? extends InstanceEndpointLocalRemote>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
Class<? extends InstanceEndpointLocalRemote> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getLocalRemote
LocalRemote getLocalRemote()
Configuration relating to an endpoint which can either be local (an interface), or remote. In the case where it is remote a neighbor IP address and virtual-circuit identifier must be specified- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.network.instance.rev151018.instance.endpoint.local.remote.LocalRemote
localRemote
, ornull
if not present
-
-