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-action-types {prefix action;}
14 import opendaylight-flow-types {prefix offlow;revision-date "2013-10-26";}
16 revision "2015-10-03" {
17 description "ODL Specific Interface Manager Rpcs Module";
21 rpc get-interface-from-lporttag {
22 description "Used to retrieve the interface-name using lporttag";
35 rpc get-lporttag-from-interface {
36 description "Used to retrieve the lporttag from interface-name";
49 rpc get-interface-from-groupid {
50 description "Used to retrieve the interface-name using groupid";
63 rpc get-groupid-from-interface {
64 description "Used to retrieve the interface-name using groupid";
77 rpc get-dpid-from-interface {
78 description "used to retrieve dpid from interface name";
91 rpc get-port-from-interface {
92 description "used to retrieve dpid from interface name";
111 rpc get-interface-from-port {
112 description "used to retrieve interface from port details";
114 leaf interface-type {
115 description "Type of the interface (vlan/gre or vxlan tunnel)";
117 base odlif:tunnel-type-base;
127 description "Used to provide the interface specific differentiator information (vlanId/gre-key/vxlan-vni)";
132 leaf interface-name {
138 rpc get-egress-actions-for-interface {
139 description "used to retrieve group actions to use from interface name";
146 uses action:action-list;
150 rpc get-egress-instructions-for-interface {
151 description "used to retrieve flow instructions to use from interface name";
158 uses offlow:instruction-list;
162 rpc get-endpoint-ip-for-dpn {
163 description "to get the local ip of the tunnel/trunk interface";
170 leaf-list local-ips {
171 type inet:ip-address;