BUG-48: next phase of implementation
[bgpcep.git] / programming / topology-api / src / main / yang / network-topology-programming.yang
diff --git a/programming/topology-api/src/main/yang/network-topology-programming.yang b/programming/topology-api/src/main/yang/network-topology-programming.yang
new file mode 100644 (file)
index 0000000..8330547
--- /dev/null
@@ -0,0 +1,42 @@
+module network-topology-programming {
+       yang-version 1;
+       namespace "urn:opendaylight:params:xml:ns:yang:topology:programming";
+       prefix "tp";
+
+       import network-topology { prefix nt; revision-date 2013-10-21; }
+       import programming { prefix pgm; revision-date 2013-09-30; }
+
+       organization "Cisco Systems, Inc.";
+       contact "Robert Varga <rovarga@cisco.com>";
+
+       description
+               "This module contains the programming extensions for tunnel
+               topologies.
+
+               Copyright (c)2013 Cisco Systems, Inc. All rights reserved.
+
+               This program and the accompanying materials are made available
+               under the terms of the Eclipse Public License v1.0 which
+               accompanies this distribution, and is available at
+               http://www.eclipse.org/legal/epl-v10.html";
+
+       revision "2013-11-02" {
+               description
+                       "Initial revision.";
+               reference "";
+       }
+
+       grouping topology-instruction-input {
+               uses pgm:submit-instruction-input;
+
+               leaf topology-id {
+                       type nt:topology-id;
+                       mandatory true;
+               }
+       }
+
+       grouping topology-instruction-output {
+               uses pgm:submit-instruction-output;
+       }
+}
+