public interface TopologyTunnelPcepProgrammingService extends RpcService
rpc pcep-create-p2p-tunnel {
input {
container destination {
leaf node {
type node-ref;
}
leaf tp {
type tp-ref;
}
uses tp-reference;
}
container source {
leaf node {
type node-ref;
}
leaf tp {
type tp-ref;
}
uses tp-reference;
}
leaf network-topology-ref {
type network-topology-ref;
}
leaf id {
type instruction-id;
}
leaf deadline {
type nanotime;
}
leaf-list preconditions {
type instruction-id;
}
list explicit-hops {
key "order"
leaf loose {
type boolean;
}
leaf order {
type uint32;
}
uses tunnel-p2p-path-hops;
}
leaf symbolic-path-name {
type string;
}
leaf class-type {
type class-type;
}
leaf bandwidth {
type bandwidth;
}
leaf local-protection-desired {
type local-protection-desired;
}
leaf label-recording-desired {
type label-recording-desired;
}
leaf se-style-desired {
type se-style-desired;
}
leaf session-name {
type string;
}
leaf hold-priority {
type hold-priority;
}
leaf setup-priority {
type setup-priority;
}
leaf include-any {
type attribute-filter;
}
leaf exclude-any {
type attribute-filter;
}
leaf include-all {
type attribute-filter;
}
}
output {
leaf link-id {
type link-id;
}
choice result {
case failure-case {
container failure {
leaf type {
type identityref;
}
leaf-list failed-preconditions {
type instruction-id;
}
}
}
}
}
}
rpc pcep-update-tunnel {
input {
leaf link-id {
type link-id;
}
leaf network-topology-ref {
type network-topology-ref;
}
leaf id {
type instruction-id;
}
leaf deadline {
type nanotime;
}
leaf-list preconditions {
type instruction-id;
}
list explicit-hops {
key "order"
leaf loose {
type boolean;
}
leaf order {
type uint32;
}
uses tunnel-p2p-path-hops;
}
leaf symbolic-path-name {
type string;
}
leaf class-type {
type class-type;
}
leaf bandwidth {
type bandwidth;
}
leaf local-protection-desired {
type local-protection-desired;
}
leaf label-recording-desired {
type label-recording-desired;
}
leaf se-style-desired {
type se-style-desired;
}
leaf session-name {
type string;
}
leaf hold-priority {
type hold-priority;
}
leaf setup-priority {
type setup-priority;
}
leaf include-any {
type attribute-filter;
}
leaf exclude-any {
type attribute-filter;
}
leaf include-all {
type attribute-filter;
}
}
output {
choice result {
case failure-case {
container failure {
leaf type {
type identityref;
}
leaf-list failed-preconditions {
type instruction-id;
}
}
}
}
}
}
rpc pcep-destroy-tunnel {
input {
leaf link-id {
type link-id;
}
leaf network-topology-ref {
type network-topology-ref;
}
leaf id {
type instruction-id;
}
leaf deadline {
type nanotime;
}
leaf-list preconditions {
type instruction-id;
}
}
output {
choice result {
case failure-case {
container failure {
leaf type {
type identityref;
}
leaf-list failed-preconditions {
type instruction-id;
}
}
}
}
}
}
| Modifier and Type | Method and Description |
|---|---|
Future<org.opendaylight.yangtools.yang.common.RpcResult<PcepCreateP2pTunnelOutput>> |
pcepCreateP2pTunnel(PcepCreateP2pTunnelInput input) |
Future<org.opendaylight.yangtools.yang.common.RpcResult<PcepDestroyTunnelOutput>> |
pcepDestroyTunnel(PcepDestroyTunnelInput input) |
Future<org.opendaylight.yangtools.yang.common.RpcResult<PcepUpdateTunnelOutput>> |
pcepUpdateTunnel(PcepUpdateTunnelInput input) |
Future<org.opendaylight.yangtools.yang.common.RpcResult<PcepCreateP2pTunnelOutput>> pcepCreateP2pTunnel(PcepCreateP2pTunnelInput input)
Future<org.opendaylight.yangtools.yang.common.RpcResult<PcepUpdateTunnelOutput>> pcepUpdateTunnel(PcepUpdateTunnelInput input)
Future<org.opendaylight.yangtools.yang.common.RpcResult<PcepDestroyTunnelOutput>> pcepDestroyTunnel(PcepDestroyTunnelInput input)
Copyright © 2017 OpenDaylight. All rights reserved.