Signed-off-by: IWASE Yusuke
---
ryu/lib/packet/bgp.py | 4 ++--
ryu/lib/packet/safi.py | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ryu/lib/packet/bgp.py b/ryu/lib/packet/bgp.py
index 96746f5..fa1f5d6 100644
--- a/ryu/lib/packet/bgp.py
+++ b/ryu/lib/packet/bgp.py
@@ -59
Currently, test_bgp uses packet_data/bgp4/* files which contain only
BGP protocol binary data.
This patch convert packet_data file into pcap file and enable to test
BGP packet library with pcap file.
With pcap file, we can easily check packet data validity by using
Wireshark or other packet sniffer
Current specified Pylint(==0.25.0) are not enough to support Python 3.
This patch updates test-requires to use the latest one.
Signed-off-by: IWASE Yusuke
---
tools/test-requires | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/test-requires b/tools/test-requires
index 1
Signed-off-by: IWASE Yusuke
---
tools/test-requires | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/test-requires b/tools/test-requires
index 3150b92..1cc85a5 100644
--- a/tools/test-requires
+++ b/tools/test-requires
@@ -7,3 +7,4 @@ formencode
lxml; platform_python_implementation != '
This patch removes the following Pylint warnings:
- anomalous-backslash-in-string
- arguments-differ
- bad-builtin
- bad-staticmethod-argument
- superfluous-parens
- super-init-not-called
- unidiomatic-typecheck
- unused-variable
- wrong-import-order
Signed-off-by: IWASE Yusuke
The following patches improves Pylint result of ryu/lib/packet/bgp
and updates the unit tests of it.
Also, these patches contains the updates of test-requires.
IWASE Yusuke (5):
test-requires: Add tinyrpc for RPC controller in wsgi
test-requires: Update to use the latest Pylint
bgp: fix typo
Hi,
On 2016年05月25日 02:39, Maurizio Marrocco wrote:
> Hi to everyone,
>
> I need an help for my thesis,
>
> I want to identify a control packet from Python RYU-controller. In other
> words: How I can to do the following instruction?
>
> |If(I receive a OFPT_PACKET_OUT msg fromryu-controller)dosome
Hi,
In RYU, I used OFPSetAsync message to mask packet_in caused by ACTION as
mentioned in RYU doc. This is the code:
def send_set_async(self, datapath):
ofp = datapath.ofproto
ofp_parser = datapath.ofproto_parser
packet_in_mask = ofp.OFPR_ACTION
port_status_mask = (ofp.OFPPR_ADD | ofp.OFPPR_DELE
Hi to everyone,
I need an help for my thesis,
I want to identify a control packet from Python RYU-controller. In other words:
How I can to do the following instruction?
If (I receive a OFPT_PACKET_OUT msg from ryu-controller)
do something (for example all control traffic from controller must