Do not wait for non-existing modules
[controller.git] / opendaylight / md-sal / model / model-flow-management / src / main / yang / port-management.yang
1 module port-management {
2     namespace "urn:opendaylight:port:config";
3     prefix port-cfg;
4
5     import opendaylight-inventory {prefix inv;revision-date "2013-08-19";}    
6     import opendaylight-port-types {prefix port;}
7
8     revision "2013-10-24" {
9         description "Initial revision of port service";
10     }
11
12     grouping port-entry {
13         leaf node {
14             type inv:node-ref;
15         }
16         uses port:port-mod;
17     }   
18      
19     container ports {
20         list port {
21             key "id node"; 
22                         
23             leaf id {
24                 type uint32;
25             }                       
26             
27             uses port-entry;
28         }
29     }    
30 }