hello.

 > ryu/app/rest_router.py:1660:80: E501 line too long (87 > 79
 > characters)
 >              
 > actions.append(ofp_parser.OFPActionSetDlSrc(mac_lib.haddr_to_bin(src_mac)))
 >                                                                              
 >    ^
 > ryu/app/rest_router.py:1662:80: E501 line too long (87 > 79
 > characters)
 >              
 > actions.append(ofp_parser.OFPActionSetDlDst(mac_lib.haddr_to_bin(dst_mac)))

the warnings has occurred in ryu/app/rest_router.py.



On Thu, 29 Aug 2013 10:26:01 +0900
FUJITA Tomonori <[email protected]> wrote:

> On Thu, 29 Aug 2013 10:09:03 +0900
> Yuichi Ito <[email protected]> wrote:
>
>> Changes v3 -> v4:
>>
>> - hide LACP from the application like v1
>> - remove SimpleSwitchLacp._port_status_handler
>> - rename methods using double underscores to use a single underscore
>>
>>
>> this application provides the simple example of link aggregation using LACP.
>>
>> the module "lacplib" controls exchange of LACP packets and watches the 
>> status of the slave i/fs.
>> the status changes if the i/fs went into a LAG or timeout to exchange LACP 
>> occurred.
>> the module sends a "EventSlaveStateChanged" event when the status changed.
>>
>> the module "simple_switch_lacp" is a variation of "simple_switch".
>> the switch receives the "EventPacketIn" event instead of the 
>> "EventOFPPacketIn" event from the module "lacplib" in order to except LACP.
>> when the module received "EventSlaveStateChanged" event, the module resets 
>> flow entries.
>>
>> to run:
>> ryu-manager ryu/app/simple_switch_lacp.py
>>
>> Signed-off-by: Yuichi Ito <[email protected]>
>> ---
>>   ryu/app/simple_switch_lacp.py |  115 ++++++++++++++++
>>   ryu/lib/lacplib.py            |  302 
>> +++++++++++++++++++++++++++++++++++++++++
>>   2 files changed, 417 insertions(+)
>>   create mode 100644 ryu/app/simple_switch_lacp.py
>>   create mode 100644 ryu/lib/lacplib.py
>
> I got the following pep8 warnings:
>
> ryu/app/rest_router.py:1660:80: E501 line too long (87 > 79
> characters)
>              
> actions.append(ofp_parser.OFPActionSetDlSrc(mac_lib.haddr_to_bin(src_mac)))
>                                                                               
>   ^
> ryu/app/rest_router.py:1662:80: E501 line too long (87 > 79
> characters)
>              
> actions.append(ofp_parser.OFPActionSetDlDst(mac_lib.haddr_to_bin(dst_mac)))
>




------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to