Interface NetworkInstanceConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface NetworkInstanceConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration parameters relating to a top-level network instanceThis class represents the following YANG schema fragment defined in module openconfig-network-instance
grouping network-instance-config { leaf name { type string; } leaf type { type identityref { base network-instance-type; } } leaf enabled { type boolean; } leaf description { type string; } leaf router-id { type yang:dotted-quad; } leaf route-distinguisher { type nit:route-distinguisher; } }
The schema path to identify an instance is openconfig-network-instance/network-instance-config
-
-
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 String
getDescription()
A free-form string to be used by the network operator to describe the function of this network instanceString
getName()
An operator-assigned unique name for the forwarding instanceRouteDistinguisher
getRouteDistinguisher()
The route distinguisher that should be used for the local VRF or VSI instance when it is signalled via BGP.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DottedQuad
getRouterId()
A identifier for the local network instance - typically used within associated routing protocols or signalling routing information in another network instanceClass<? extends NetworkInstanceType>
getType()
The type of network instance.Class<? extends NetworkInstanceConfig>
implementedInterface()
Boolean
isEnabled()
Whether the network instance should be configured to be active on the network element
-
-
-
Method Detail
-
implementedInterface
Class<? extends NetworkInstanceConfig> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getName
String getName()
An operator-assigned unique name for the forwarding instance- Returns:
java.lang.String
name
, ornull
if not present
-
getType
Class<? extends NetworkInstanceType> getType()
The type of network instance. The value of this leaf indicates the type of forwarding entries that should be supported by this network instance- Returns:
java.lang.Class
type
, ornull
if not present
-
isEnabled
Boolean isEnabled()
Whether the network instance should be configured to be active on the network element- Returns:
java.lang.Boolean
enabled
, ornull
if not present
-
getDescription
String getDescription()
A free-form string to be used by the network operator to describe the function of this network instance- Returns:
java.lang.String
description
, ornull
if not present
-
getRouterId
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DottedQuad getRouterId()
A identifier for the local network instance - typically used within associated routing protocols or signalling routing information in another network instance- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DottedQuad
routerId
, ornull
if not present
-
getRouteDistinguisher
RouteDistinguisher getRouteDistinguisher()
The route distinguisher that should be used for the local VRF or VSI instance when it is signalled via BGP.- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.network.instance.types.rev151018.RouteDistinguisher
routeDistinguisher
, ornull
if not present
-
-