Extra Features for Controller (Akka, Spray and Scala)
[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 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.