summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2017-05-30doc: fix error in ovsdb_manager.rst code胡鼎原
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-30fix dhcp6.py bug using python3胡鼎原
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-30pip: OpenStack avoids newer eventletIWASE Yusuke
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-30ofctl: Add some tests for ofp_instruction_from_strIWAMOTO Toshihiro
Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-30ofctl: Add ovs-ofctl style action string parserIWAMOTO Toshihiro
This commit adds a new method called ofp_instruction_from_str, which takes an ovs-ofctl style action string and returns a list of JSON dictionaries. Currently only a few action strings are understood. Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-30nicira_ext: Define some CT constantsIWAMOTO Toshihiro
Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-12BGPSpeaker/SSH: Support to show L2VPN Flow Spec routesSatoshi Fujimoto
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-12BGPSpeaker: Support IPv6 Flow Spec update messagesSatoshi Fujimoto
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-12BGPSpeaker/info_base: Add tables for L2VPN Flow SpecSatoshi Fujimoto
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-12utils/test_bgp: Add unit tests for L2VPN Flow SpecSatoshi Fujimoto
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-12test_table_manager: Add unit tests for L2VPN Flow SpecSatoshi Fujimoto
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-12test_bgpspeaker: Add unit tests for L2VPN Flow SpecSatoshi Fujimoto
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-12packet/bgp: Support L2VPN Flow SpecSatoshi Fujimoto
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-12packet/bgp: Properly calculate length for FlowSpecSatoshi Fujimoto
RFC 5575 says the 'len' field in numeric or bitmask operators represents that the length of the value field is [1 << 'len']. But, in serializing FlowSpec messages, the packet library uses the `len` field as the length of the value field itself. This patch fixes it to serialize FlowSpec messages properly. Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-12test_bgp: Add test cases for L2VPN Flow SpecSatoshi Fujimoto
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-12BGPSpeaker/SSH: Support to show IPv6 Flow Spec routesSatoshi Fujimoto
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-12BGPSpeaker: Support IPv6 Flow Spec update messagesSatoshi Fujimoto
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-12BGPSpeaker/info_base: Add tables for IPv6 Flow SpecSatoshi Fujimoto
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-12utils/test_bgp: Add unit tests for IPv6 Flow SpecSatoshi Fujimoto
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-12test_table_manager: Add unit tests for IPv6 Flow SpecSatoshi Fujimoto
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-12test_bgpspeaker: Add unit tests for IPv6 Flow SpecSatoshi Fujimoto
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-12packet/bgp: Support IPv6 Flow SpecSatoshi Fujimoto
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-12test_bgp: Add test cases for IPv6 Flow SpecSatoshi Fujimoto
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-11ofproto: Allow CIDR notation for ipv[46]_{src, dst}IWAMOTO Toshihiro
This hack allows CIDR notations for OFPMatch. For example: ofpp.OFPMatch(ipv4_src="198.51.100.0/24") Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-09utils.import_module: Prefer filepath than Python moduleBrad Cowie
Currently, ryu.utils.import_module() prefers the Python module path than the user specified file path, and if the user app name is the same with the Python module, this function returns the Python module instead of the user app. This patch fixes to try to load "file" before finding the loaded Python module, and fixes this problem. Note: With this patch, import_module() will reload (override) a module if the specified module file name is the same. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: Brad Cowie <brad@gizmoguy.net.nz> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-09library_packet_ref: Separate ref into each protocolShinpei Muraoka
To keep readablity if include all class into library reference, this patch separates library_packet_ref.rst into each protocol. Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-09lib/packet: Use literal block for diagram in pydocShinpei Muraoka
Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-09packet/bgp: Omit description of default valueIWASE Yusuke
Omit description of default value The default value is described in the aut generated API doc of class. So the default value should not be hardcoded in pydoc. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-09packet/lldp: Add description for each classIWASE Yusuke
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-09packet/arp: Update description for argumentsIWASE Yusuke
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-09BGPSpeaker/info_base/base: Unify documentation formatShinpei Muraoka
Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-09BGPSpeaker: Unify documentation formatShinpei Muraoka
Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-09BGPSpeaker: Improve EVPN Redundancy Mode validationIWASE Yusuke
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-09bgp: Enable to configure default local preferenceSatoshi Fujimoto
This patch enables to configure the default local preference. If not specified, the value will be 100 as a default. Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-09packet/zebra: Support IP_ROUTE message from ZebraIWASE Yusuke
Zebra IPv4/IPv6 route message have asymmetric structure, in other words, the message structure from Zebra to the protocol daemons and that from the protocol daemons to Zebra have the different structures. This patch introduces _ZebraMessageFromZebra in order to distinguish which daemon sent the message and fixes _ZebraIPRoute to decode IPv4/IPv6 route message from Zebra. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-05-09lib/hub: Workaround for issue of eventletIWASE Yusuke
This patch adopts the workaround which is discussing on the eventlet team at the following: https://github.com/eventlet/eventlet/issues/401 This workaround is suggested by Raymond Burkholder. Suggested-by: Raymond Burkholder <ray@oneunified.net> Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-04-04Ryu 4.13FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-03-28nicira_ext: Constants for IP fragment matchingsurlyjake
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-03-28bgp/info_base: Refactor has_nexthop() methodSatoshi Fujimoto
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-03-28bgp/peer: Fix invalid NEXT_HOP in UPDATE messageSatoshi Fujimoto
Currently, when BGPSpeaker advertises IPv4/6 unicast routes via an iBGP connection, if the Nexthop in the route is omitted, BGP Speaker advertises the Nexthop with the unspecified address. This route can be evaluated as invalid by the receiving router. This patch fixes it by making BGPSpeaker to advertising the Nexthop with the host's own ip address if the local route in the RIB has the Nexthop with the unspecified address. Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-03-28ofctl_v1_5: Fix lack of arguments for modify role APISatoshi Fujimoto
ofctl_v1_5 can't send role request messages, because of lack of arguments. This patch fixes it by adding the argument for short_id. ofctl_v1_5 sets None to short_id. It means ofctl_v1_5 uses the default value of short_id. Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-03-28ofctl_rest: Add get role APISatoshi Fujimoto
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-03-28ofctl: Fix type of fields of DescStatSatoshi Fujimoto
With Python3 and OpenFlow v1.0/v1.2/v1.3, Ryu can't dump the description statistics reply message into JSON, because the message has byte type values. This patch fixes it by using to_jsondict(). Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-03-28utils/test_bgp: Add unit tests for Flow SpecificationShinpei Muraoka
Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-03-28core_managers/test_table_manager: Add unit tests for Flow SpecificationShinpei Muraoka
Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-03-28test_bgpspeaker: Add unit tests for Flow SpecificationShinpei Muraoka
Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-03-28library_packet_ref: Add description of action for Flow SpecificationShinpei Muraoka
Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-03-28BGPSpeaker: Support Flow Specification update messagesShinpei Muraoka
This patch enables BGPSpeaker to store FlowSpec routes into the global table and VRF tables and to provide the API for advertising routes. Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-03-28BGPSpeaker/SSH: Supports display of Flow Specification RIBShinpei Muraoka
Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-03-28BGPSpeaker/info_base: Add tables for Flow SpecificationShinpei Muraoka
Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>