Remove getPort API from sal-port.yang
[controller.git] / opendaylight / md-sal / model / model-flow-service / src / main / yang / sal-port.yang
1 module sal-port {
2     namespace "urn:opendaylight:port:service";
3     prefix port;
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-type;revision-date "2013-09-25";}
8     import flow-capable-transaction {prefix tr;}
9
10     revision "2013-11-07" {
11         description "Initial revision of port service";
12     }        
13     
14     grouping node-port {
15         uses "inv:node-context-ref";
16         
17         uses port-type:flow-port-status;
18     }
19
20     /** Base configuration structure **/
21     grouping port-update {
22         uses "inv:node-context-ref";
23
24         container original-port {
25             uses port-type:port-mod;
26         }
27         container updated-port {
28             uses port-type:port-mod;
29         }
30     }
31
32     rpc update-port {
33         input {
34             uses port-update;
35             uses tr:transaction-aware;
36         }
37         output {
38             uses tr:transaction-aware;
39         }
40     }
41     
42     notification port-updated {
43         uses port-update;
44         uses tr:transaction-aware;
45     }
46     
47     notification port-removed {
48         uses node-port;       
49     }
50 }

©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.