--
You received this message because you are subscribed to the Google Groups "ofswitch13-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ofswitch13-use...@googlegroups.com.
To post to this group, send email to ofswitch...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ofswitch13-users/bf9be900-2624-469f-ad7a-e7a3a14577e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/ofswitch13-users/2df9300e-9a7b-4a51-984d-6c47002a122d%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ofswitch13-users+unsub...@googlegroups.com.
| struct ofl_flow_stats { | |
| uint8_t table_id; /* ID of table flow came from. */ | |
| uint32_t duration_sec; /* Time flow has been alive in secs. */ | |
| uint32_t duration_nsec; /* Time flow has been alive in nsecs | |
| beyond duration_sec. */ | |
| uint16_t priority; /* Priority of the entry. Only meaningful | |
| when this is not an exact-match entry. */ | |
| uint16_t idle_timeout; /* Number of seconds idle before | |
| expiration. */ | |
| uint16_t hard_timeout; /* Number of seconds before expiration. */ | |
| uint16_t flags; /* One of OFPFF_*/ | |
| uint64_t cookie; /* Opaque controller-issued identifier. */ | |
| uint64_t packet_count; /* Number of packets in flow. */ | |
| uint64_t byte_count; /* Number of bytes in flow. */ | |
| struct ofl_match_header *match; /* Description of fields. */ | |
| size_t instructions_num; | |
| struct ofl_instruction_header **instructions; /* Instruction set. */ | |
| }; |
| struct ofl_msg_multipart_reply_flow { | |
| struct ofl_msg_multipart_reply_header header; /* OFPMP_FLOW */ | |
| size_t stats_num; | |
| struct ofl_flow_stats **stats; | |
| }; |
|
|
To unsubscribe from this group and stop receiving emails from it, send an email to ofswitch13-users+unsub...@googlegroups.com.
On 4 Jun 2017, at 18:41, Xin Xing <hannib...@gmail.com> wrote:
Hello Luciano,
For your Qoscontroller, you wrote the Handsharksuccessful funtion, and for the switch configuration option, you manually set each switch the in_port and out_port. So my question is for the switch port, could I make each switch in_port and out_port manually? Which rule should I follow to set the switch ports.
And another question is related to my previous question, for the stats-flow information. The reply should be a struct ofl_msg_multipart_reply_flow. When I dig in for more details, the valuable thing for me is the struct ofl_flow_stats which is a part belonged to ofl_msg_multipart_reply_flow. However, this struct doesn't contain the flow src_IP and dst_IP information. Or, these information are contained by the struct ofl_match_header, which is a part of ofl_flow_stats. Do I understand it correctly?
To view this discussion on the web visit https://groups.google.com/d/msgid/ofswitch13-users/0b17d0cc-bf48-4171-a97b-06cb6b544689%40googlegroups.com.
On 13 Jun 2017, at 16:00, Xin Xing <hannib...@gmail.com> wrote:
Hello Luciano,
First thank you for your patience and help.
I want to write a controller called "Mycontroller" based on your Qoscontroller and Ofswitch13Controller. However, when I compile it with my mainscript, it shows following error:
I think it means that the script can not find myController. So what shall I do?
And another question is for your Qoscontroller example, how could I run it ? I copy them into ns3.26 "scratch" folder, then run it, which shows error.
The attachment is my .cc and .h script.
Thank you for your time and help.
在 2017年6月5日星期一 UTC-5上午11:42:52,Luciano Jerez Chaves写道:Hi :)
To unsubscribe from this group and stop receiving emails from it, send an email to ofswitch13-users+unsubscribe...@googlegroups.com.
To post to this group, send email to ofswitch...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ofswitch13-users/2df9300e-9a7b-4a51-984d-6c47002a122d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "ofswitch13-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ofswitch13-users+unsub...@googlegroups.com.
To post to this group, send email to ofswitch...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ofswitch13-users/0b17d0cc-bf48-4171-a97b-06cb6b544689%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "ofswitch13-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ofswitch13-use...@googlegroups.com.
To post to this group, send email to ofswitch...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ofswitch13-users/0d76808e-b971-41c8-8c94-5abf9e57801b%40googlegroups.com.
<my-controller.cc><my-controller.h>
To view this discussion on the web visit https://groups.google.com/d/msgid/ofswitch13-users/d9ca5bb9-4a2e-44e3-a5c0-38bd247fa662%40googlegroups.com.
Hi :)
To view this discussion on the web visit https://groups.google.com/d/msgid/ofswitch13-users/0b17d0cc-bf48-4171-a97b-06cb6b544689%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "ofswitch13-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ofswitch13-use...@googlegroups.com.
To post to this group, send email to ofswitch...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ofswitch13-users/0d76808e-b971-41c8-8c94-5abf9e57801b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<my-controller.cc><my-controller.h>
--
You received this message because you are subscribed to the Google Groups "ofswitch13-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ofswitch13-users+unsub...@googlegroups.com.
To post to this group, send email to ofswitch...@googlegroups.com.