Interface ItmStateData
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.DataRoot
@Generated("mdsal-binding-generator") public interface ItmStateData extends org.opendaylight.yangtools.yang.binding.DataRoot
This YANG module defines operation part of the model.This class represents the following YANG schema fragment defined in module itm-state
module itm-state { namespace urn:opendaylight:genius:itm:op; prefix itm-state; import ietf-inet-types { prefix inet; revision-date 2013-07-15; } import odl-interface { prefix odlif; revision-date 2016-04-06; } revision 2016-04-06; identity tep-type-base { } identity tep-type-internal { base tep-type-base; } identity tep-type-external { base tep-type-base; } identity tep-type-hwvtep { base tep-type-base; } typedef tep-type { type identityref { base tep-type-base; } } grouping tep-info-attributes { leaf tep-device-type { type identityref { base tep-type-base; } } leaf tep-device-id { type string; } leaf tep-ip { type inet:ip-address; } } typedef tunnel-oper-status { type enumeration { enum up; enum down; enum unknown; enum ignore; } } container dpn-endpoints { list DPN-TEPs-info { key DPN-ID; leaf DPN-ID { type uint64; } leaf dst-id { type int32 { range 1..2147483647; } } leaf up { status deprecated; type boolean; config false; } list tunnel-end-points { ordered-by user; key "ip-address tunnel-type"; leaf ip-address { type inet:ip-address; } list tz-membership { key zone-name; leaf zone-name { type string; } } leaf interface-name { type string; } leaf tunnel-type { type identityref { base tunnel-type-base; } } leaf option-of-tunnel { type boolean; default false; } leaf option-tunnel-tos { type string { length 1..8; } } } } } container tunnel-list { list internal-tunnel { key "source-DPN destination-DPN transport-type"; leaf source-DPN { type uint64; } leaf destination-DPN { type uint64; } leaf transport-type { type identityref { base tunnel-type-base; } } leaf-list tunnel-interface-names { type string; } } } container external-tunnel-list { list external-tunnel { key "source-device destination-device transport-type"; leaf source-device { type string; } leaf destination-device { type string; } leaf transport-type { type identityref { base tunnel-type-base; } } leaf tunnel-interface-name { type string; } } } container tunnels_state { config false; list state-tunnel-list { key tunnel-interface-name; leaf tunnel-interface-name { type string; } leaf tunnel-state { type boolean; config false; status deprecated; } leaf oper-state { type tunnel-oper-status; } container src-info { uses tep-info-attributes; } container dst-info { uses tep-info-attributes; } leaf transport-type { type identityref { base tunnel-type-base; } } leaf port-number { type string; } leaf if-index { type uint16; } } } container dpn-teps-state { list dpns-teps { key source-dpn-id; leaf source-dpn-id { type uint64; } leaf ip-address { type inet:ip-address; } leaf tunnel-type { type identityref { base tunnel-type-base; } } leaf of-tunnel { type string; } list remote-dpns { key destination-dpn-id; leaf destination-dpn-id { type uint64; } leaf tunnel-name { type string; } leaf monitoring-enabled { type boolean; } leaf monitoring-interval { type uint16 { range 1000..30000; } } leaf internal { type boolean; } } } } container monitoring-ref-count { config false; list monitored-tunnels { key "source-dpn destination-dpn"; leaf source-dpn { type uint64; } leaf destination-dpn { type uint64; } leaf reference-count { type uint16; } } } container dpn-tep-config { list of-dpn-tep { key source-dpn-id; leaf source-dpn-id { type uint64; } leaf tunnel-type { type identityref { base tunnel-type-base; } } leaf of-port-name { type string; } leaf tep-ip { type inet:ip-address; } } } container of-teps-state { config false; list of-tep { key of-port-name; leaf of-port-name { type string; } leaf source-dpn-id { type uint64; } leaf tunnel-type { type identityref { base tunnel-type-base; } } leaf tep-ip { type inet:ip-address; } leaf port-number { type string; } leaf if-index { type uint16; } leaf of-tep-state { type tunnel-oper-status; } } } }
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DpnEndpoints
getDpnEndpoints()
Return dpnEndpoints, ornull
if it is not present.DpnTepConfig
getDpnTepConfig()
Return dpnTepConfig, ornull
if it is not present.DpnTepsState
getDpnTepsState()
Return dpnTepsState, ornull
if it is not present.ExternalTunnelList
getExternalTunnelList()
Return externalTunnelList, ornull
if it is not present.MonitoringRefCount
getMonitoringRefCount()
Return monitoringRefCount, ornull
if it is not present.OfTepsState
getOfTepsState()
Return ofTepsState, ornull
if it is not present.TunnelList
getTunnelList()
Return tunnelList, ornull
if it is not present.TunnelsState
getTunnelsState()
Return tunnelsState, ornull
if it is not present.
-
-
-
Method Detail
-
getDpnEndpoints
DpnEndpoints getDpnEndpoints()
Return dpnEndpoints, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.op.rev160406.DpnEndpoints
dpnEndpoints, ornull
if it is not present.
-
getTunnelList
TunnelList getTunnelList()
Return tunnelList, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.op.rev160406.TunnelList
tunnelList, ornull
if it is not present.
-
getExternalTunnelList
ExternalTunnelList getExternalTunnelList()
Return externalTunnelList, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.op.rev160406.ExternalTunnelList
externalTunnelList, ornull
if it is not present.
-
getTunnelsState
TunnelsState getTunnelsState()
Return tunnelsState, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.op.rev160406.TunnelsState
tunnelsState, ornull
if it is not present.
-
getDpnTepsState
DpnTepsState getDpnTepsState()
Return dpnTepsState, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.op.rev160406.DpnTepsState
dpnTepsState, ornull
if it is not present.
-
getMonitoringRefCount
MonitoringRefCount getMonitoringRefCount()
Return monitoringRefCount, ornull
if it is not present.The container for maintaing the reference count for monitoring requests between a src and dst DPN pair.
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.op.rev160406.MonitoringRefCount
monitoringRefCount, ornull
if it is not present.
-
getDpnTepConfig
DpnTepConfig getDpnTepConfig()
Return dpnTepConfig, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.op.rev160406.DpnTepConfig
dpnTepConfig, ornull
if it is not present.
-
getOfTepsState
OfTepsState getOfTepsState()
Return ofTepsState, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.op.rev160406.OfTepsState
ofTepsState, ornull
if it is not present.
-
-