ID's are made in sync with openflow specification. Flow/Group/Table/Port/Queue/Meter...
[controller.git] / opendaylight / md-sal / model / model-flow-management / src / main / yang / port-config.yang
index 945cc32ab5d33bb194d10e9ff63d971d573495fb..50762b87ce821411583acffa86418e656539c99c 100644 (file)
@@ -14,7 +14,7 @@ module port-management {
         leaf node {
             type inv:node-ref;
         }
-        uses port:ofp-port-mod;
+        uses port:port-mod;
     }   
      
     container ports {
@@ -22,7 +22,7 @@ module port-management {
             key "id node"; 
                         
             leaf id {
-                type string;
+                type uint32;
             }                       
             
             uses port-entry;