Interface TableConnection
-
- All Superinterfaces:
ApplyPolicyGroup
,org.opendaylight.yangtools.yang.binding.Augmentable<TableConnection>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<TableConnections>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<TableConnectionKey>
public interface TableConnection extends org.opendaylight.yangtools.yang.binding.ChildOf<TableConnections>, org.opendaylight.yangtools.yang.binding.Augmentable<TableConnection>, ApplyPolicyGroup, org.opendaylight.yangtools.yang.binding.Identifiable<TableConnectionKey>
A list of connections between pairs of routing or forwarding tables, the of entries between which is specified by the import and export policyThis class represents the following YANG schema fragment defined in module openconfig-network-instance
list table-connection { key "src-table dst-table"; leaf src-table { type leafref { path ../config/src-table; } } leaf dst-table { type leafref { path ../config/dst-table; } } container config { uses inter-table-policies-config; } container state { config false; uses inter-table-policies-config; } uses rpol:apply-policy-group; }
The schema path to identify an instance is openconfig-network-instance/network-instance-top/network-instances/network-instance/table-connections/table-connectionTo create instances of this class use
TableConnectionBuilder
.- See Also:
TableConnectionBuilder
,TableConnectionKey
-
-
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 Config
getConfig()
Configuration parameters relating to the connection between tablesString
getDstTable()
The table to which routing entries should be exportedString
getSrcTable()
The name of the table which should be utilised as the source of forwarding or routing informationState
getState()
State parameters relating to the connection between tablesdefault Class<TableConnection>
implementedInterface()
TableConnectionKey
key()
-
Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.routing.policy.rev151009.ApplyPolicyGroup
getApplyPolicy
-
-
-
-
Method Detail
-
implementedInterface
default Class<TableConnection> implementedInterface()
- Specified by:
implementedInterface
in interfaceApplyPolicyGroup
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getSrcTable
String getSrcTable()
The name of the table which should be utilised as the source of forwarding or routing information- Returns:
java.lang.String
srcTable
, ornull
if not present
-
getDstTable
String getDstTable()
The table to which routing entries should be exported- Returns:
java.lang.String
dstTable
, ornull
if not present
-
getConfig
Config getConfig()
Configuration parameters relating to the connection between tables- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.network.instance.rev151018.network.instance.top.network.instances.network.instance.table.connections.table.connection.Config
config
, ornull
if not present
-
getState
State getState()
State parameters relating to the connection between tables- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.network.instance.rev151018.network.instance.top.network.instances.network.instance.table.connections.table.connection.State
state
, ornull
if not present
-
key
TableConnectionKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<TableConnectionKey>
-
-