Hi Fujita-San,

I'm very sorry, some commits required by this patch are still on another branch.
I will repost this patch including the dependencies, soon.

Thanks,
Iwase


On 2017年02月11日 14:33, FUJITA Tomonori wrote:
> On Tue, 31 Jan 2017 16:59:10 +0900
> IWASE Yusuke <[email protected]> wrote:
> 
>> Currently, "prefix" argument should be an instance of IPv4Prefix or
>> IPv6Prefix in some Zebra message body classes.
>> But for the convenience, this patch enables to specify "prefix" in
>> the str type representation.
>>
>> Signed-off-by: IWASE Yusuke <[email protected]>
>> ---
>>  ryu/lib/packet/zebra.py | 109 
>> +++++++++++++++++++++++++++++-------------------
>>  1 file changed, 65 insertions(+), 44 deletions(-)
> 
> Hmm, I got the followings:
> 
> Traceback (most recent call last):
>   File
>   "/home/travis/build/fujita/ryu/ryu/tests/unit/packet/test_zebra.py",
>   line 64, in test_pcap
>     pkt.serialize()
>   File "/home/travis/build/fujita/ryu/ryu/lib/packet/packet.py", line
>   99, in serialize
>     data = p.serialize(self.data, prev)
>   File "/home/travis/build/fujita/ryu/ryu/lib/packet/zebra.py", line
>   817, in serialize
>     body = self.body.serialize()
>   File "/home/travis/build/fujita/ryu/ryu/lib/packet/zebra.py", line
>   1601, in serialize
>     if ip.valid_ipv4(self.prefix):
> AttributeError: module 'ryu.lib.ip' has no attribute 'valid_ipv4'
> 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to