Interface InstanceEndpointLocalRemote
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
- All Known Subinterfaces:
Config
,InstanceEndpointConfig
,State
@Generated("mdsal-binding-generator")
public interface InstanceEndpointLocalRemote
extends org.opendaylight.yangtools.binding.Grouping
A generic specification of a local or remote endpoint
This 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; } } } }
-
Method Summary
Modifier and TypeMethodDescriptionReturn localRemote, ornull
if it is not present.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getLocalRemote
LocalRemote getLocalRemote()Return localRemote, ornull
if it is not present.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:
LocalRemote
localRemote, ornull
if it is not present.
-