I did as you suggested but no flow appears and I see the following error in my log:
java.util.concurrent.ExecutionException: org.opendaylight.controller.md.sal.dom.api.DOMRpcImplementationNotAvailableException: No implementation of RPC AbsoluteSchemaPath{path=[(urn:opendaylight:flow:service?revision=2013-08-19)add-flow]} available at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:503) at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:462) at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79) at gov.nist.antd.sdnmud.impl.FlowWriter.writeFlow(FlowWriter.java:69) I just got the FlowService and called the addFlow method of the flow service. Should I do anything prior to making that call? Thanks. On Thu, Jul 12, 2018 at 4:45 PM, Luis Gomez <ece...@gmail.com> wrote: > You can send openflow RPC like the example below: > > POST http://192.168.0.101:8181/restconf/operations/sal-flow:add-flow > { > "input": { > "opendaylight-flow-service:node":"/opendaylight- > inventory:nodes/opendaylight-inventory:node[opendaylight- > inventory:id='openflow:1']", > "priority": 2, > "flow-name": "flow1", > "table_id": 0, > "hard-timeout": 0, > "instructions": { > "instruction": [ > { > "order": 0, > "apply-actions": { > "action": [ > { > "order": 0, > "output-action": { > "output-node-connector": "1" > } > } > ] > } > } > ] > }, > "idle-timeout": 0, > "match": { > "ipv4-destination": "10.0.10.0/24", > "ethernet-match": { > "ethernet-type": { > "type": 2048 > } > } > } > } > } > > > > > On Jul 12, 2018, at 12:09 PM, M. Ranganathan <mra...@gmail.com> wrote: > > > > I am using OpendDaylight Nitrogen. In order to send a flow to the > switch, I write to the CONFIG database - which winds up sending the flow to > the switch. However, I want faster performance for ephemeral flows . How > can I send the flow to the switch without involving the CONFIG database? > > > > Thanks, > > > > Ranga > > > > -- > > M. Ranganathan > > > > _______________________________________________ > > openflowplugin-dev mailing list > > openflowplugin-dev@lists.opendaylight.org > > https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev > > -- M. Ranganathan
_______________________________________________ openflowplugin-dev mailing list openflowplugin-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev