1 module topology-tunnel-programming {
3 namespace "urn:opendaylight:params:xml:ns:yang:topology:tunnel:programming";
6 import network-topology { prefix nt; revision-date 2013-10-21; }
7 import topology-tunnel { prefix tt; revision-date 2013-08-19; }
8 import programming { prefix pgm; revision-date 2013-09-30; }
10 organization "Cisco Systems, Inc.";
11 contact "Robert Varga <rovarga@cisco.com>";
14 "This module contains the programming extensions for tunnel
17 Copyright (c)2013 Cisco Systems, Inc. All rights reserved.
19 This program and the accompanying materials are made available
20 under the terms of the Eclipse Public License v1.0 which
21 accompanies this distribution, and is available at
22 http://www.eclipse.org/legal/epl-v10.html";
24 revision "2013-09-30" {
30 identity attach-path-instruction {
31 base pgm:instruction-type;
34 identity create-path-instruction {
35 base pgm:instruction-type;
38 identity destroy-path-instruction {
39 base pgm:instruction-type;
42 identity detach-path-instruction {
43 base pgm:instruction-type;
46 augment "/pgm:submit-instruction/pgm:input/pgm:arguments" {
47 when "../type = attach-path-instruction";
50 container attach-path {
63 augment "/pgm:submit-instruction/pgm:input/pgm:arguments" {
64 when "../type = create-path-instruction";
67 container create-path {
76 augment "/pgm:submit-instruction/pgm:input/pgm:arguments" {
77 when "../type = destroy-path-instruction";
80 container destroy-path {
89 augment "/pgm:submit-instruction/pgm:input/pgm:arguments" {
90 when "../type = detach-path-instruction";
93 container detach-path {
106 identity create-tunnel-instruction {
107 base pgm:instruction-type;
110 identity destroy-tunnel-instruction {
111 base pgm:instruction-type;
114 augment "/pgm:submit-instruction/pgm:input/pgm:arguments" {
115 when "../type = create-tunnel-instruction";
118 container create-tunnel {
127 augment "/pgm:submit-instruction/pgm:input/pgm:arguments" {
128 when "../type = destroy-tunnel-instruction";
130 case destroy-tunnel {
131 container destroy-tunnel {