Once node connect to the plugin, it sends port desciption statistics request to the node.
This statistic request is only defined for openflow 1.3+ switches. Added the condition
to avoid sending this request to openflow 1.0 switch
Change-Id: I10a81a7e83efc0e75eb4581ea24b226626625a26
Signed-off-by: Anilkumar Vishnoi <avishnoi@in.ibm.com>
// post-handshake actions
if(version == OFConstants.OFP_VERSION_1_3){
+ requestPorts();
requestGroupFeatures();
requestMeterFeatures();
} else if (version == OFConstants.OFP_VERSION_1_0) {
}
requestDesc();
- requestPorts();
}
/**
EventFactory.DEFAULT_VERSION, getFeatureResponseMsg()));
eventPlan.add(0, EventFactory.createDefaultWaitForRpcEvent(1, "multipartRequestInput"));
- eventPlan.add(0, EventFactory.createDefaultWaitForRpcEvent(2, "multipartRequestInput"));
executeNow();
EventFactory.DEFAULT_VERSION, getFeatureResponseMsg()));
eventPlan.add(0, EventFactory.createDefaultWaitForRpcEvent(1, "multipartRequestInput"));
- eventPlan.add(0, EventFactory.createDefaultWaitForRpcEvent(2, "multipartRequestInput"));
executeNow();