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