public interface UscChannelService
extends org.opendaylight.yangtools.yang.binding.RpcService
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 |
---|---|
Future<org.opendaylight.yangtools.yang.common.RpcResult<AddChannelOutput>> |
addChannel(AddChannelInput input)
Add a channel to the USC topology.
|
Future<org.opendaylight.yangtools.yang.common.RpcResult<RemoveChannelOutput>> |
removeChannel(RemoveChannelInput input)
remove a channel to the USC topology.
|
Future<org.opendaylight.yangtools.yang.common.RpcResult<RemoveSessionOutput>> |
removeSession(RemoveSessionInput input)
remove a session to the USC topology.
|
Future<org.opendaylight.yangtools.yang.common.RpcResult<SendMessageOutput>> |
sendMessage(SendMessageInput input)
send a text message to a USC Channel.
|
Future<org.opendaylight.yangtools.yang.common.RpcResult<ViewChannelOutput>> |
viewChannel(ViewChannelInput input)
View all channels in a USC topology.
|
@CheckReturnValue Future<org.opendaylight.yangtools.yang.common.RpcResult<RemoveChannelOutput>> removeChannel(RemoveChannelInput input)
@CheckReturnValue Future<org.opendaylight.yangtools.yang.common.RpcResult<RemoveSessionOutput>> removeSession(RemoveSessionInput input)
@CheckReturnValue Future<org.opendaylight.yangtools.yang.common.RpcResult<ViewChannelOutput>> viewChannel(ViewChannelInput input)
@CheckReturnValue Future<org.opendaylight.yangtools.yang.common.RpcResult<AddChannelOutput>> addChannel(AddChannelInput input)
@CheckReturnValue Future<org.opendaylight.yangtools.yang.common.RpcResult<SendMessageOutput>> sendMessage(SendMessageInput input)
Copyright © 2019 OpenDaylight. All rights reserved.