Bump models to match draft-clemm-netmod-yang-network-topo-01
[bgpcep.git] / topology / api / src / main / yang / ospf-topology.yang
index eaacf6416ea510086340d3ff1cab81b2633c23f3..576cd8262b9c44f2b40831ce191536e6331a78b3 100644 (file)
@@ -1,8 +1,8 @@
 module ospf-topology {
     yang-version 1;
-    namespace "urn:ietf:params:xml:ns:yang:ospf-topology";
-
+    namespace "urn:TBD:params:xml:ns:yang:ospf-topology";
     // replace with IANA namespace when assigned
+
     prefix "ospf";
 
     import network-topology {
@@ -10,7 +10,7 @@ module ospf-topology {
     }
 
     import l3-unicast-igp-topology {
-        prefix "igp";
+        prefix "l3t";
     }
     import ietf-inet-types {
         prefix "inet";
@@ -23,7 +23,7 @@ module ospf-topology {
     contact "TBD";
     description "OSPF Topology model";
 
-    revision "2013-07-12" {
+    revision "2013-10-21" {
         description "Initial revision";
         reference "TBD";
     }
@@ -39,32 +39,31 @@ module ospf-topology {
         }
     }
 
-    augment "/nt:network-topology/nt:topology/nt:topology-types/igp:l3-unicast-igp-topology" {
+    augment "/nt:network-topology/nt:topology/nt:topology-types/l3t:l3-unicast-igp-topology" {
         uses ospf-topology-type;
     }
 
-    augment "/nt:network-topology/nt:topology/igp:igp-topology-attributes" {
-        when "../topology-types/ospf";
+    augment "/nt:network-topology/nt:topology/l3t:igp-topology-attributes" {
+        when "../nt:topology-types/l3t:l3-unicast-igp-topology/ospf";
         container ospf-topology-attributes {
             leaf area-id {
                 type area-id;
             }
         }
-
     }
 
-    augment "/nt:network-topology/nt:topology/nt:node/igp:igp-node-attributes" {
-        when "../../../topology-types/ospf";
+    augment "/nt:network-topology/nt:topology/nt:node/l3t:igp-node-attributes" {
+        when "../../nt:topology-types/l3t:l3-unicast-igp-topology/ospf";
         uses ospf-node-attributes;
     }
 
-    augment "/nt:network-topology/nt:topology/nt:link/igp:igp-link-attributes" {
-        when "../../../topology-types/ospf";
+    augment "/nt:network-topology/nt:topology/nt:link/l3t:igp-link-attributes" {
+        when "../../nt:topology-types/l3t:l3-unicast-igp-topology/ospf";
         uses ospf-link-attributes;
     }
 
-    augment "/nt:network-topology/nt:topology/nt:node/igp:igp-node-attributes/igp:prefix" {
-        when "../../../../topology-types/ospf";
+    augment "/nt:network-topology/nt:topology/nt:node/l3t:igp-node-attributes/l3t:prefix" {
+        when "../../../nt:topology-types/l3t:l3-unicast-igp-topology/ospf";
         uses ospf-prefix-attributes;
     }
 
@@ -99,9 +98,9 @@ module ospf-topology {
                 type uint32;
             }
             leaf-list multi-topology-id {
-
                 description "List of Multi-Topology Identifier up-to 128 (0-127). RFC 4915";
                 max-elements "128";
+
                 type uint8 {
                     range "0..127";
                 }
@@ -148,27 +147,27 @@ module ospf-topology {
         }
     } // ospf-link-attributes
 
-
     grouping ospf-prefix-attributes {
         container ospf-prefix-attributes {
+
             leaf forwarding-address {
-                when "../../igp:l3-unicast-igp-topology/igp:ospf/igp:router-type/igp:asbr";
+                when "../../l3t:l3-unicast-igp-topology/l3t:ospf/l3t:router-type/l3t:asbr";
                 type inet:ipv4-address;
             }
         }
     }
 
-    augment "/igp:igp-node-event" {
+    augment "/l3t:igp-node-event" {
         uses ospf-topology-type;
         uses ospf:ospf-node-attributes;
     }
 
-    augment "/igp:igp-link-event" {
+    augment "/l3t:igp-link-event" {
         uses ospf-topology-type;
         uses ospf:ospf-link-attributes;
     }
 
-    augment "/igp:igp-prefix-event" {
+    augment "/l3t:igp-prefix-event" {
         uses ospf-topology-type;
         uses ospf:ospf-prefix-attributes;
     }