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";
22 rpc get-dpid-from-interface {
23 description "used to retrieve dpid from interface name";
36 rpc get-port-from-interface {
37 description "used to retrieve dpid from interface name";
56 rpc get-interface-from-port {
57 description "used to retrieve interface from port details";
60 description "Type of the interface (vlan/gre or vxlan tunnel)";
62 base odlif:tunnel-type-base;
72 description "Used to provide the interface specific differentiator information (vlanId/gre-key/vxlan-vni)";
83 rpc get-egress-actions-for-interface {
84 description "used to retrieve group actions to use from interface name";
91 uses action:action-list;
95 rpc get-egress-instructions-for-interface {
96 description "used to retrieve flow instructions to use from interface name";
103 uses offlow:instruction-list;
107 rpc get-endpoint-ip-for-dpn {
108 description "to get the local ip of the tunnel/trunk interface";
115 leaf-list local-ips {
116 type inet:ip-address;