1 module odl-interface-rpc {
2 namespace "urn:opendaylight:vpnservice:interfacemgr:rpcs";
5 import ietf-inet-types {
10 prefix odlif; revision-date 2015-03-31;
13 import opendaylight-inventory {
14 prefix inv; revision-date 2013-08-19;
17 import ietf-interfaces {
18 prefix if; revision-date 2014-05-08;
21 import opendaylight-action-types {prefix action;}
22 import opendaylight-flow-types {prefix offlow;revision-date "2013-10-26";}
24 revision "2015-10-03" {
25 description "ODL Specific Interface Manager Rpcs Module";
30 rpc get-dpid-from-interface {
31 description "used to retrieve dpid from interface name";
44 rpc get-port-from-interface {
45 description "used to retrieve dpid from interface name";
64 rpc get-egress-actions-for-interface {
65 description "used to retrieve group actions to use from interface name";
72 uses action:action-list;
76 rpc get-egress-instructions-for-interface {
77 description "used to retrieve flow instructions to use from interface name";
84 uses offlow:instruction-list;
88 rpc get-endpoint-ip-for-dpn {
89 description "to get the local ip of the tunnel/trunk interface";
102 rpc get-interface-type {
103 description "to get the type of the interface(vlan/vxlan or gre)";
110 leaf interface-type {
112 base if:interface-type;
118 rpc get-nodeconnector-id-from-interface {
119 description "to get nodeconnector id associated with an interface";
126 leaf nodeconnector-id {
127 type inv:node-connector-id;