public interface UscChannelData
extends org.opendaylight.yangtools.yang.binding.DataRoot
This class represents the following YANG schema fragment defined in module usc-channel
module usc-channel { yang-version 1; namespace "urn:opendaylight:params:xml:ns:yang:usc:channel"; prefix "usc-channel"; revision 2015-01-01 { description "This module defines the model for USC channels. "; } container usc-topology { list topology { key "topology-id"; leaf topology-id { type topology-id; } list node { key "node-id"; leaf node-id { type node-id; } leaf node-type { type string; } uses node-attributes; } list channel { key "channel-id"; leaf channel-id { type channel-id; } leaf channel-type { type string; } container source { leaf source-node { type node-id; } } container destination { leaf dest-node { type node-id; } } leaf bytes-in { type uint32; } leaf bytes-out { type uint32; } leaf call-home { type string; } leaf channel-alarms { type uint32; } list channel-alarm { key "alarm-id"; leaf alarm-id { type alarm-id; } leaf alarm-code { type string; } leaf alarm-message { type string; } uses alarm-attributes; } leaf sessions { type uint32; } list session { key "session-id"; leaf session-id { type session-id; } container termination-point { leaf termination-point-id { type termination-point-id; } uses termination-point-attributes; } leaf bytes-in { type uint32; } leaf bytes-out { type uint32; } leaf session-alarms { type uint32; } list session-alarm { key "alarm-id"; leaf alarm-id { type alarm-id; } leaf alarm-code { type string; } leaf alarm-message { type string; } uses alarm-attributes; } uses session-attributes; } uses channel-attributes; } uses topology-attributes; } } grouping termination-point-attributes { leaf termination-point-id { type termination-point-id; } } grouping channel-attributes { leaf channel-id { type channel-id; } leaf channel-type { type string; } container source { leaf source-node { type node-id; } } container destination { leaf dest-node { type node-id; } } leaf bytes-in { type uint32; } leaf bytes-out { type uint32; } leaf call-home { type string; } leaf channel-alarms { type uint32; } list channel-alarm { key "alarm-id"; leaf alarm-id { type alarm-id; } leaf alarm-code { type string; } leaf alarm-message { type string; } uses alarm-attributes; } leaf sessions { type uint32; } list session { key "session-id"; leaf session-id { type session-id; } container termination-point { leaf termination-point-id { type termination-point-id; } uses termination-point-attributes; } leaf bytes-in { type uint32; } leaf bytes-out { type uint32; } leaf session-alarms { type uint32; } list session-alarm { key "alarm-id"; leaf alarm-id { type alarm-id; } leaf alarm-code { type string; } leaf alarm-message { type string; } uses alarm-attributes; } uses session-attributes; } } grouping node-attributes { leaf node-id { type node-id; } leaf node-type { type string; } } grouping session-attributes { leaf session-id { type session-id; } container termination-point { leaf termination-point-id { type termination-point-id; } uses termination-point-attributes; } leaf bytes-in { type uint32; } leaf bytes-out { type uint32; } leaf session-alarms { type uint32; } list session-alarm { key "alarm-id"; leaf alarm-id { type alarm-id; } leaf alarm-code { type string; } leaf alarm-message { type string; } uses alarm-attributes; } } grouping alarm-attributes { leaf alarm-id { type alarm-id; } leaf alarm-code { type string; } leaf alarm-message { type string; } } grouping topology-attributes { leaf topology-id { type topology-id; } list node { key "node-id"; leaf node-id { type node-id; } leaf node-type { type string; } uses node-attributes; } list channel { key "channel-id"; leaf channel-id { type channel-id; } leaf channel-type { type string; } container source { leaf source-node { type node-id; } } container destination { leaf dest-node { type node-id; } } leaf bytes-in { type uint32; } leaf bytes-out { type uint32; } leaf call-home { type string; } leaf channel-alarms { type uint32; } list channel-alarm { key "alarm-id"; leaf alarm-id { type alarm-id; } leaf alarm-code { type string; } leaf alarm-message { type string; } uses alarm-attributes; } leaf sessions { type uint32; } list session { key "session-id"; leaf session-id { type session-id; } container termination-point { leaf termination-point-id { type termination-point-id; } uses termination-point-attributes; } leaf bytes-in { type uint32; } leaf bytes-out { type uint32; } leaf session-alarms { type uint32; } list session-alarm { key "alarm-id"; leaf alarm-id { type alarm-id; } leaf alarm-code { type string; } leaf alarm-message { type string; } uses alarm-attributes; } uses session-attributes; } uses channel-attributes; } } rpc remove-channel { "remove a channel to the USC topology."; input { container channel { leaf hostname { type string; } leaf tcp { type boolean; } leaf port { type int16; } } } output { leaf result { type string; } } } rpc remove-session { "remove a session to the USC topology."; input { container channel { leaf hostname { type string; } leaf tcp { type boolean; } leaf port { type int16; } } } output { leaf result { type string; } } } rpc view-channel { "View all channels in a USC topology."; input { leaf topology-id { type topology-id; } } output { list topology { key "topology-id"; leaf topology-id { type topology-id; } list node { key "node-id"; leaf node-id { type node-id; } leaf node-type { type string; } uses node-attributes; } list channel { key "channel-id"; leaf channel-id { type channel-id; } leaf channel-type { type string; } container source { leaf source-node { type node-id; } } container destination { leaf dest-node { type node-id; } } leaf bytes-in { type uint32; } leaf bytes-out { type uint32; } leaf call-home { type string; } leaf channel-alarms { type uint32; } list channel-alarm { key "alarm-id"; leaf alarm-id { type alarm-id; } leaf alarm-code { type string; } leaf alarm-message { type string; } uses alarm-attributes; } leaf sessions { type uint32; } list session { key "session-id"; leaf session-id { type session-id; } container termination-point { leaf termination-point-id { type termination-point-id; } uses termination-point-attributes; } leaf bytes-in { type uint32; } leaf bytes-out { type uint32; } leaf session-alarms { type uint32; } list session-alarm { key "alarm-id"; leaf alarm-id { type alarm-id; } leaf alarm-code { type string; } leaf alarm-message { type string; } uses alarm-attributes; } uses session-attributes; } uses channel-attributes; } uses topology-attributes; } } } rpc add-channel { "Add a channel to the USC topology."; input { container channel { leaf hostname { type string; } leaf tcp { type boolean; } leaf port { type int16; } leaf remote { type boolean; } } } output { leaf result { type string; } } } rpc send-message { "send a text message to a USC Channel."; input { container channel { leaf hostname { type string; } leaf tcp { type boolean; } leaf port { type int16; } leaf content { type string; } } } output { leaf result { type string; } } } }
Modifier and Type | Method and Description |
---|---|
UscTopology |
getUscTopology()
A model of the unified secure channel topology.
|
UscTopology getUscTopology()
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.usc.channel.rev150101.UscTopology
uscTopology
, or null
if not presentCopyright © 2019 OpenDaylight. All rights reserved.