Merge "Upgrade ietf-{inet,yang}-types to 2013-07-15"
[vpnservice.git] / interfacemgr / interfacemgr-api / src / main / yang / odl-interface.yang
index 29994dafdc8937b8f29842a81f3e1f3595ae018b..9c226141b25b12b8fb7f5658b69287ac4d9608b9 100644 (file)
@@ -17,7 +17,7 @@ module odl-interface {
 
     import ietf-inet-types {
         prefix inet;
-        revision-date "2010-09-24";
+        revision-date "2013-07-15";
     }
 
     import opendaylight-inventory {
@@ -97,6 +97,19 @@ module odl-interface {
             type string;
             description "can be a physical switch port or virtual switch port e.g. neutron port";
         }
+
+        list node-identifier {
+            key "topology-id";
+            description "an identifier of the dependant underlying configuration protocol";
+            leaf "topology-id" {
+                type string;
+                description "can be ovsdb configuration protocol";
+            }
+            leaf "node-id" {
+                type string;
+                description "can be hwvtep configuration protocol";
+            }
+        }
     }
 
     /* interface type specific properties */
@@ -143,6 +156,7 @@ module odl-interface {
                         "The VLAN mode transparent.";
                 }
             }
+            default "trunk";
         }
     }
 
@@ -242,4 +256,4 @@ module odl-interface {
             }
         }
     }
-}
\ No newline at end of file
+}