Hi All,
Please read the below mentioned details .
Could you please tell me what does
* salFlowService.addFlow(builder.build()) * do
Does it add flows on to my switch ...or some other function needs to be
wriiten to finally send flows on to switch .
What I mean is like for* packet out*
we use
* TransmitPacketInput input = new TransmitPacketInputBuilder() //*
* .setPayload(payload) //*
* .setNode(new NodeRef(egressNodePath)) //*
* .setEgress(egress) //*
* .setIngress(ingress) //*
* .build();*
and finally to send packet out on to switch we use the below
function
* packetProcessingService.transmitPacket*(*input*); (my
packet reaches switchafter this function)
so in case of *sending flow *
AddFlowInputBuilder builder = new AddFlowInputBuilder();
builder.setNode(new NodeRef(nodeInstanceId));
builder.setVersion(x);
builder.setType(y);
builder.setLength(length);
builder.setXid(0L);
builder.setVendordata(vendorData);
builder.setVendorid(1234L);
Now I do
salFlowService.addFlow(builder.build());
So does it send the flow or it just adds flow ..finally to see flow on to
the switch what do I do ???
I hope my question is clear .If any doubt please do ask.
I am done with packet in and packet out ,now I need to *send flows.*
Regards
Ayushi
_______________________________________________
openflowplugin-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev