This patch implements the following messages on FRRouting:
- FRR_ZEBRA_MPLS_LABELS_ADD
- FRR_ZEBRA_MPLS_LABELS_DELETE
Signed-off-by: IWASE Yusuke
---
ryu/lib/packet/zebra.py | 161 ++--
1 file changed, 157 insertions(+), 4 deletions(-)
diff --git a/
Signed-off-by: IWASE Yusuke
---
ryu/lib/packet/zebra.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ryu/lib/packet/zebra.py b/ryu/lib/packet/zebra.py
index 2858e05..c651391 100644
--- a/ryu/lib/packet/zebra.py
+++ b/ryu/lib/packet/zebra.py
@@ -1845,7 +1845,7 @@ class _Zebr
Signed-off-by: IWASE Yusuke
---
ryu/lib/packet/zebra.py | 120
1 file changed, 120 insertions(+)
diff --git a/ryu/lib/packet/zebra.py b/ryu/lib/packet/zebra.py
index 62b4d8f..71d8947 100644
--- a/ryu/lib/packet/zebra.py
+++ b/ryu/lib/packet/zebra.
This patch implements the following messages on FRRouting:
- FRR_ZEBRA_INTERFACE_ENABLE_RADV
- FRR_ZEBRA_INTERFACE_DISABLE_RADV
Signed-off-by: IWASE Yusuke
---
ryu/lib/packet/zebra.py | 46 --
1 file changed, 44 insertions(+), 2 deletions(-)
diff --
Signed-off-by: IWASE Yusuke
---
ryu/services/protocols/zebra/client/zclient.py | 11 +++
ryu/services/protocols/zebra/event.py | 2 +-
ryu/services/protocols/zebra/server/zserver.py | 2 ++
3 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/ryu/services/protocols/z
This patch fixes to parse the missing field of the number of unreserved
bandwidth classes in Interface Link Parameters structure.
Signed-off-by: IWASE Yusuke
---
ryu/lib/packet/zebra.py | 21 +++--
1 file changed, 15 insertions(+), 6 deletions(-)
diff --git a/ryu/lib/packet/zebr
The following patches add the supports for Zebra API messages in FRRouting
version 2.0 format.
Also, including test cases for UTs of Zebra packet library.
IWASE Yusuke (17):
packet/zebra: Fix unresolved reference for _serialize_nexthops
packet/zebra: Return "ZebraMessage" for message from Zebr
This patch implements the following messages on FRRouting:
- FRR_ZEBRA_VRF_ADD
- FRR_ZEBRA_VRF_DELETE
- FRR_ZEBRA_INTERFACE_VRF_UPDATE
Signed-off-by: IWASE Yusuke
---
ryu/lib/packet/zebra.py | 79 +
1 file changed, 74 insertions(+), 5 deletions(
Note: The binary representation is not extracted from the real packets
and based on the implemetation, so might be required to be fixup with
the real packets.
Signed-off-by: IWASE Yusuke
---
ryu/tests/unit/packet/test_zebra.py | 626
1 file changed, 626 inser
This patch implements the following messages on FRRouting:
- ZEBRA_INTERFACE_NBR_ADDRESS_ADD
- ZEBRA_INTERFACE_NBR_ADDRESS_DELETE
Signed-off-by: IWASE Yusuke
---
ryu/lib/packet/zebra.py | 209
1 file changed, 141 insertions(+), 68 deletions(-)
This patch implements the following messages on FRRouting:
- ZEBRA_INTERFACE_BFD_DEST_UPDATE
- ZEBRA_BFD_DEST_REGISTER
- ZEBRA_BFD_DEST_DEREGISTER
- ZEBRA_BFD_DEST_UPDATE
- ZEBRA_BFD_DEST_REPLAY
Signed-off-by: IWASE Yusuke
---
ryu/lib/packet/zebra.py | 379 ++
Signed-off-by: IWASE Yusuke
---
ryu/lib/packet/zebra.py | 117 +++-
1 file changed, 57 insertions(+), 60 deletions(-)
diff --git a/ryu/lib/packet/zebra.py b/ryu/lib/packet/zebra.py
index 698dd35..25c7239 100644
--- a/ryu/lib/packet/zebra.py
+++ b/ryu/l
The ZEBRA_IPV4_IMPORT_LOOKUP/ZEBRA_IPV6_IMPORT_LOOKUP has asymmetric
structures at when sent to Zebra daemon and when sent from Zebra daemon.
Especially, "prefix_len" field is inserted before "prefix" filed when
sent to Zebra daemon.
Signed-off-by: IWASE Yusuke
---
ryu/lib/packet/zebra.py | 80 +
Signed-off-by: IWASE Yusuke
---
ryu/tests/packet_data/pcap/zebra_v4_frr_v2.pcap | Bin 0 -> 3712 bytes
ryu/tests/unit/packet/test_zebra.py | 1 +
2 files changed, 1 insertion(+)
create mode 100644 ryu/tests/packet_data/pcap/zebra_v4_frr_v2.pcap
diff --git a/ryu/tests/packet_data/p
Signed-off-by: IWASE Yusuke
---
ryu/lib/packet/zebra.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ryu/lib/packet/zebra.py b/ryu/lib/packet/zebra.py
index c651391..76668af 100644
--- a/ryu/lib/packet/zebra.py
+++ b/ryu/lib/packet/zebra.py
@@ -834,7 +834,7 @@ class _ZebraM
Note: This patch does not support all messages defined in FRRouting,
and some of message are left on TODO.
Signed-off-by: IWASE Yusuke
---
ryu/lib/packet/zebra.py | 649 +---
1 file changed, 554 insertions(+), 95 deletions(-)
diff --git a/ryu/lib/pack
Signed-off-by: IWASE Yusuke
---
ryu/lib/packet/zebra.py | 5 +
1 file changed, 5 insertions(+)
diff --git a/ryu/lib/packet/zebra.py b/ryu/lib/packet/zebra.py
index 76668af..c3a26a3 100644
--- a/ryu/lib/packet/zebra.py
+++ b/ryu/lib/packet/zebra.py
@@ -141,6 +141,11 @@ ZEBRA_INTERFACE_ACTIVE
Signed-off-by: IWASE Yusuke
---
ryu/lib/packet/zebra.py | 17 +
1 file changed, 17 insertions(+)
diff --git a/ryu/lib/packet/zebra.py b/ryu/lib/packet/zebra.py
index c3a26a3..52d0605 100644
--- a/ryu/lib/packet/zebra.py
+++ b/ryu/lib/packet/zebra.py
@@ -198,6 +198,23 @@ ZEBRA_LLT
Hi
I am writing a Ryu application in which I have if else statement for
packet_in. If a *condition* *satisfies for the first time*, then it *should
start the timer* till 10 seconds, within these 10 seconds there will be
other packets arriving as well, matching the same condition *but I don't
want
Hi,
Here's a new release.
=
Dingyuan Hu (1):
services/ovsdb: Listen on IPv6 Address
FUJITA Tomonori (1):
Ryu 4.17
IWASE Yusuke (3):
ofp_event: Timestamp when OpenFlow event was generated
rest_qos: Avoid discarding Queues info for each request
BGPSpeaker/net_ctrl:
Never mind.
Just found it! ->
http://ryu.readthedocs.io/en/latest/app/ofctl.html#module-ryu.app.ofctl.api
On 4 September 2017 at 13:56, Carlos Ferreira wrote:
> Btw, is there any online documentation for that synchronous API ?
> Thank you!
>
> On 4 September 2017 at 13:54, Carlos Ferreira wrote
Btw, is there any online documentation for that synchronous API ?
Thank you!
On 4 September 2017 at 13:54, Carlos Ferreira wrote:
> Oh. I didn't notice there was such API. Thank you!
>
> On 4 September 2017 at 03:22, Fujimoto Satoshi
> wrote:
>> Hi, Carlos
>>
>> If so, you can use app/ofctl/api.
Oh. I didn't notice there was such API. Thank you!
On 4 September 2017 at 03:22, Fujimoto Satoshi
wrote:
> Hi, Carlos
>
> If so, you can use app/ofctl/api.py in your application.
>
> This provides send_msg() which sends messages with synchronously:
>
> from ryu.app.ofctl import api
>
>
23 matches
Mail list logo