Signed-off-by: IWASE Yusuke
---
ryu/lib/ofctl_utils.py | 11 ++--
ryu/lib/ofctl_v1_2.py | 140 -
ryu/lib/ofctl_v1_3.py | 8 ++-
ryu/lib/ofctl_v1_4.py | 8 ++-
ryu/lib/ofctl_v1_5.py | 9 +++-
5 files changed, 48 insertions(+), 128 deletion
This patch fixes lib/ofctl_v1_* to use the utility function str_to_int()
instead of the builtin function int().
With this change, lib/ofctl_v1_* can convert the user input values into
integer even if non-decimal string values (e.g. hexadecimal "0x80").
Signed-off-by: IWASE Yusuke
---
ryu/lib/ofc
Currently, ofctl_rest.py raise error if the following example
command described at Ryu documentaion received.
http://ryu.readthedocs.io/en/latest/app/ofctl_rest.html#example-of-set-field-action
The cause of this problem is that lib/ofctl_v1_* fails to
convert the hexadecimal {"dl_type": "0x8000
Signed-off-by: Shinpei Muraoka
---
ryu/lib/packet/bgp.py | 496 -
ryu/lib/packet/safi.py | 2 +
2 files changed, 496 insertions(+), 2 deletions(-)
diff --git a/ryu/lib/packet/bgp.py b/ryu/lib/packet/bgp.py
index 8359412..c787d82 100644
--- a/ryu
Signed-off-by: Shinpei Muraoka
---
ryu/lib/packet/bgp.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ryu/lib/packet/bgp.py b/ryu/lib/packet/bgp.py
index 29c10a4..8359412 100644
--- a/ryu/lib/packet/bgp.py
+++ b/ryu/lib/packet/bgp.py
@@ -3579,9 +3579,9 @@ class PmsiTu
The following patches support Flow Specification for BGP.
Shinpei Muraoka (3):
pakcket/bgp: pylint
packet/bgp: Support Flow Specification
test_bgp: Add test cases for Flow Specification
ryu/lib/packet/bgp.py | 502 -
ryu/lib/packet/safi.py
This patch adds the test cases for
Flow Specification NLRI in MP_REAACH NLRI and
Traffic Filtering Actions in EXTENDED_COMMUNITIES.
Signed-off-by: Shinpei Muraoka
---
ryu/tests/packet_data/bgp4/flowspec_action_redirect.pcap | Bin 0 -> 173 bytes
.../packet_data/bgp4/flowspec_action_traffic_acti
Hi,
For install routes into your dataplane (e.g. OpenFlow switches, Linux's routing
tables),
it is required to implement your Ryu application.
In other words, Ryu does not have any dataplane feature in its self.
OTOH, for monitoring the best paths, I realized that it is difficult to get
notific
Hi Trung,
We want to support BGP Add-paths feature,
but there seems not to be any schedule to implement it...
If you can try to implement this feature, we welcome your contribution!
Any question for Ryu BGP implementation, please post it on this mailing list.
Thanks,
Iwase
On 2017年02月02日 08:11,
Hi Iwase,
thanks for quick reply.
i test OVS also, and OVS can successfully establish connection when
specify as "of13".
the switch vendor says they always send bitmap and negotiate of-version
depends on whether controller sends bitmap too.
that's why negotiation is failed.
BR<
MARK
Hi Mark,
As you pointed out, Ryu does not always send bitmaps of the supported version.
https://github.com/osrg/ryu/blob/master/ryu/controller/controller.py#L369
But, OpenFlow Spec 1.3 says the bitmaps element is optional and the smaller
version should be negotiated if no bitmaps element provid
Hi,
For setting VLAN_VID with "set-field action", please try the following.
$ curl -X POST -d '{
"dpid": 1,
"match":{
"dl_type": 0x8000
},
"actions":[
{
"type": "PUSH_VLAN", # Push a new VLAN tag if a input frame is
non-VLAN-tagged
"eth
Dear Iwase,
could you please me help me out, how to "set-field action" to set vlan_vid
for OpenFlow 1.3 version (HP openFlow Switch). It throws an error when
I followed the example "http://ryu.readthedocs.io/en/
latest/app/ofctl_rest.html?highlight=ofctl#example-of-vlan-id-match-field".
I am try
Dear Iwase,
could you please me help me out, how to "set-field action" to set vlan_vid
for OpenFlow 1.3 version (HP openFlow Switch). It throws an error when
I followed the example "
http://ryu.readthedocs.io/en/latest/app/ofctl_rest.html?highlight=ofctl#example-of-vlan-id-match-field
".
for exa
14 matches
Mail list logo