Hi ,

The following RPC used to work fine in the past but in the last 2-3 months
I have been getting an error.
Using distribution-karaf-0.5.2-Boron-SR2.zip
<https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.5.2-Boron-SR2/distribution-karaf-0.5.2-Boron-SR2.zip>
and
the budle that implements the RPC is active
283 | Active   |  80 | 0.3.2.Boron-SR2                    |
org.opendaylight.openflowplugin.openflowplugin-impl


POST {{contr}}/restconf/operations/sal-flow:add-flow

<?xml version="1.0" encoding="UTF-8" standalone="no"?><input
xmlns="urn:opendaylight:flow:service">
  <barrier>false</barrier>
  <node 
xmlns:inv="urn:opendaylight:inventory">/inv:nodes/inv:node[inv:id="openflow:<swid>"]</node>
  <hard-timeout>0</hard-timeout>
  <idle-timeout>0</idle-timeout>
  <installHw>false</installHw>
  <match>
    <vlan-match>
      <vlan-id>
        <vlan-id>37</vlan-id>
        <vlan-id-present>true</vlan-id-present>
      </vlan-id>
    </vlan-match>
  </match>
  <instructions>
    <instruction>
      <order>0</order>
      <apply-actions>
        <action>
          <output-action>
            <output-node-connector>23</output-node-connector>
          </output-action>
          <order>0</order>
        </action>
      </apply-actions>
    </instruction>
  </instructions>
  <priority>0</priority>
  <strict>false</strict>
  <table_id>0</table_id></input>



This is the error message I get.
{
  "errors": {
    "error": [
      {
        "error-type": "application",
        "error-tag": "operation-not-supported",
        "error-message": "No local or remote implementation available for
rpc
AbsoluteSchemaPath{path=[(urn:opendaylight:flow:service?revision=2013-08-19)add-flow]}"
      }
    ]
  }
}

Has this RPC been disabled on purpose only for external use(i.e. REST)?
I have been successfully using salFlowService.addFlow() RPC within
Opendaylight.(java code)

Regards,
Daniel
_______________________________________________
openflowplugin-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev

Reply via email to