Remove getPort API from sal-port.yang 95/5795/1
authorMoiz Raja <moraja@cisco.com>
Thu, 27 Mar 2014 18:59:23 +0000 (11:59 -0700)
committerMoiz Raja <moraja@cisco.com>
Thu, 27 Mar 2014 18:59:23 +0000 (11:59 -0700)
This API is not in use and it has not been properly modeled.

An RPC needs to have an input to be properly routed otherwise an exception will be thrown when registering.

Also see,

 - Bug 596
 - Gerrit https://git.opendaylight.org/gerrit/#/c/5781/

Change-Id: I28d517fe86ed63590fbd8fa17be712b581141869
Signed-off-by: Moiz Raja <moraja@cisco.com>
opendaylight/md-sal/model/model-flow-service/src/main/yang/sal-port.yang

index cf6d232db330aca58f33cc81661f042dcc690266..047300a61b5bd0f2d19404b2a207be088b83062a 100644 (file)
@@ -38,12 +38,6 @@ module sal-port {
             uses tr:transaction-aware;
         }
     }
-     
-    rpc get-port {
-        output {
-            uses port-type:flow-capable-port;
-        }
-    }
     
     notification port-updated {
         uses port-update;