summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2012-09-17doc: rearrange top pageFUJITA Tomonori
Rearrange the top page in the following way: - Getting Started - Cloud Integration (OpenStack only for now) - Developing Your App Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-09-17doc: use README as getting_startedFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-09-17doc: rename getting_started.rst -> parameters.rstFUJITA Tomonori
The 'getting_started' content overlaps with README. It also includes more advanced information than 'getting_started'. This is preparation for making README 'getting_started'. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-09-14doc: rearrange openstack docsFUJITA Tomonori
The following docs are about OpenStack: using_with_openstack.rst step_by_step.rst how_l2_segregation_work.rst So let's create 'OpenStack' section in the index and put three under the section. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-09-14doc: packet libraryFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-09-12app/simple_isolation: update handler registrationYoshihiro Kaneko
This patch only removes unnecessary methods that didn't accord with the library changed at ae0253a36c8787b645d33eb109636ca009d65f96. Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-09-10packet lib: fix ipv4 flags bitshiftHiyama Manabu
Fixed flags bitshift. Signed-off-by: HIYAMA Manabu <hiyama.manabu@po.ntts.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-09-05simplify handler registration coreFUJITA Tomonori
- we don't need register_cls() any more. - register_instance() isn't called with dispatchers argument. - set_ev_cls is always called with dispatchers argument. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-09-05register OFP handlers via register_instanceFUJITA Tomonori
No reason that we use register_cls() for ofp handlers. We can do with register_instance() with the others do. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-09-04doc: integrate HACKING.rst into SubmittingPatches.rstFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-09-04doc: rename SubmittingPatches to SubmittingPatches.rstFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-09-04doc: convert SubmittingPatches into reST styleFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-09-03doc: update README.rst about migration from osrg.netFUJITA Tomonori
Migration from osrg.net finished. Update the links in README.rst. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-09-03doc: set PYTHONPATH for ryu version constantFUJITA Tomonori
Fix the 6cc438c commit breakage. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-09-03doc: write Ryu applicationFUJITA Tomonori
This is the first doc for someone who wants to write his Ryu applicaiton. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-09-02doc: use ryu version constantFUJITA Tomonori
- Use ryu version constant instead of setting the version by hand. - update Copyright Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-09-02doc: change Sphinx style to haikuFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-08-31doc: fix the link in README.rstFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-08-31Ryu 1.2FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-08-31remove OFPFlowRemoved and OFPPortStatus handlers in MAIN_DISPATCHERFUJITA Tomonori
I don't see any reason why we need to handle those two OFP messages as differently as the rest. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-08-31remove unnecessary OFPFlowRemoved and OFPBarrierReply handlers in ↵FUJITA Tomonori
CONFIG_DISPATCHER We don't send OFPC_DELETE OFPFlowMod or OFPBarrier during CONFIG_DISPATCHER so we don't need OFPFlowRemoved and OFPBarrierReply. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-08-31remove unnecessary OFPEchoReply handler in dispatchersFUJITA Tomonori
We don't send OFPEchoRequest so there is no point to have OFPEchoReply handler. I think that sending OFPEchoRequest is useful for some cases (e.g. finding problems on the switch quickly). But that should be another helper dispatcher since not all applications need such. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-08-31packet lib: fix ipv4 option field handlingFUJITA Tomonori
- fix the parser to set option data. - add option argument to __init__. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-08-29packet lib: set _MIN_LEN class variableFUJITA Tomonori
All protocols need to check if the data length is long enough so let's set the minimum length in the same way. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-08-28packet lib: add tcp supportFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-08-28packet lib: convert ip to use the checksum helper functionFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-08-28packet lib: add udp data transmit and checksum supportFUJITA Tomonori
- UDP supports sending data. - UDP calculates the checksum if not given. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-08-28packet lib: add packet_utils.pyFUJITA Tomonori
Add a helper function to calculate the checksum. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-08-28packet lib: add data serialize support to Packet classFUJITA Tomonori
This enables you to send data with Packet class. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-08-28packet lib: calculate the udp lengthFUJITA Tomonori
If the length is not given, calculate it. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-08-28packet lib: calculate the ip total lengthFUJITA Tomonori
If the total length is not given, calculate it. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-08-28packet lib: serialize in reverse orderFUJITA Tomonori
- we need to serialize in reverse order since some need to know payload. - TCP and UDP need the previous protocol info (IP) to calculate the checksum. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-08-27of1.2: fix OFPFlowRemoved parserFUJITA Tomonori
Fix the following: ryu/ofproto/ofproto_v1_2_parser.py", line 1701, in parser type_, length = struct.unpack_from('!HH', buf, offset) TypeError: unpack_from() argument 1 must be string or read-only buffer, not bytearray Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-08-27of1.2: fix ofp_port_stats pack formatFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-08-23test: fix pep8 1.3.3 warningsFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-08-22fix pep8 1.3.3 warningsFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-08-22test: use the latest version of pep8FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-08-21add packet libraryFUJITA Tomonori
As discussed on the mailing list, there is no good packet library (parses and builds various protocol packets). dpkt isn't flexible enough (can't nicely handle stacked protocols such as vlan, mpls, gre). NOX's one is nice but released under GPL3. So we need our own packet library. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-08-20controller: print backtrace when exception in addition to stacktraceIsaku Yamahata
This is useful when debugging. it's difficult to debug without backtrace. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-08-20test: add stats and config tests to integrated test suiteFUJITA Tomonori
Run this in the following way: $ ryu-manager ryu/ryu/tests/integrated/test_request_reply_v12.py Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-08-10of: Fix OFPEchoRequest serializeFUJITA Tomonori
The spec allows zero-length data. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Reviewed-by: Simon Horman <horms@verge.net.au>
2012-08-06of1.2: pretty OFPGetConfigReply parserFUJITA Tomonori
Make OFPGetConfigReply parser consistent with the rest Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-07-31clean up ETH_TYPE_ constantsFUJITA Tomonori
Use ofproto/ether.py Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Reviewed-by: Simon Horman <horms@verge.net.au>
2012-07-31add ethernet type constantsFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Reviewed-by: Simon Horman <horms@verge.net.au>
2012-07-31test: fix SET_NW_TOS action in test_add_flow_v10FUJITA Tomonori
The lowest two bits must be zero. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Reviewed-by: Simon Horman <horms@verge.net.au>
2012-07-31clean up IPPROTO_ constantsFUJITA Tomonori
Use ofproto/inet.py. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-07-31add IPPROTO_SCTP constantFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-07-31rename ryu/ofproto/in.py to ryu/ofproto/inet.pyFUJITA Tomonori
Avoid a reserved word. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-07-31test: specify OF version in integrated test suiteFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-07-30Add SubmittingPatches docFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>