Interface Static
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<Static>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<StaticRoutes>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<StaticKey>
public interface Static extends org.opendaylight.yangtools.yang.binding.ChildOf<StaticRoutes>, org.opendaylight.yangtools.yang.binding.Augmentable<Static>, org.opendaylight.yangtools.yang.binding.Identifiable<StaticKey>
List of locally configured static routesThis class represents the following YANG schema fragment defined in module openconfig-local-routing
list static { key prefix; leaf prefix { type leafref { path ../config/prefix; } } container config { uses local-static-config; } container state { config false; uses local-static-config; uses local-static-state; } }
The schema path to identify an instance is openconfig-local-routing/local-static-top/static-routes/staticTo create instances of this class use
StaticBuilder
.- See Also:
StaticBuilder
,StaticKey
-
-
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 @Nullable Config
getConfig()
Configuration data for static routes@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
getPrefix()
Reference to the destination prefix for the static route@Nullable State
getState()
Operational state data for static routesdefault Class<Static>
implementedInterface()
StaticKey
key()
-
-
-
Method Detail
-
implementedInterface
default Class<Static> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getPrefix
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix getPrefix()
Reference to the destination prefix for the static route- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
prefix
, ornull
if not present
-
getConfig
@Nullable Config getConfig()
Configuration data for static routes- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.local.routing.rev151009.local._static.top._static.routes._static.Config
config
, ornull
if not present
-
getState
@Nullable State getState()
Operational state data for static routes- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.local.routing.rev151009.local._static.top._static.routes._static.State
state
, ornull
if not present
-
-