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 cf6d232..047300a 100644 (file)
@@ -38,12 +38,6 @@ module sal-port {
             uses tr:transaction-aware;
         }
     }
             uses tr:transaction-aware;
         }
     }
-     
-    rpc get-port {
-        output {
-            uses port-type:flow-capable-port;
-        }
-    }
     
     notification port-updated {
         uses port-update;
     
     notification port-updated {
         uses port-update;

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