Hi all,
I am a newbie in developing an application using Ryu.

Since I have added extra functionality to my openflow 1.3, I need the
controller app send the feature request to the switch to inquiry about the
new added feature.
But by running

 @set_ev_cls(ofp_event.EventOFPSwitchFeatures, CONFIG_DISPATCHER)
  def switch_features_handler(self, ev)

 def send_features_request(self, datapath):
         ofp_parser = datapath.ofproto_parser

         req = ofp_parser.OFPFeaturesRequest(datapath)
         datapath.send_msg(req)

event and event hander, It seems by default ev.msg return:

 switch features ev version: 0x4 msg_type 0x6 xid 0x2e11eb2e
OFPSwitchFeatures(auxiliary_id=0,capabilities=79,datapath_id=1,n_buffers=256,n_tables=64)

As I debuged my switch, msg feature request is not sent by controller to
switch for new capabilities.
I have to imply that new capabilities has been added enum ofp_capabilities
in 
ofproto_v1_3.py<https://github.com/osrg/ryu/blob/master/ryu/ofproto/ofproto_v1_3.py>

Is there any default event generator in ryu that generate this event
without asking from the switch.

any help is appreciated in advance
Hanieh.

I
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to