On Wed, 17 Jul 2013 14:45:01 +1200
Sam Russell <[email protected]> wrote:

> Signed-off-by: Sam Russell <[email protected]>
> ---
>  ryu/app/simple_switch_12.py |  120 
> +++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 120 insertions(+)
>  create mode 100644 ryu/app/simple_switch_12.py

Thanks. Can you fix pep8 warnings?

fujita@rose:~/git/ryu$ ./run_tests.sh -p
Running pep8 ...
ryu/app/simple_switch_12.py:44:80: E501 line too long (102 characters)
    def add_flow(self, datapath, table_id, match, instructions,
    buffer_id=ofproto_v1_2.OFP_NO_BUFFER):
                                                                               ^
ryu/app/simple_switch_12.py:52:80: E501 line too long (86 characters)
            flags=ofproto.OFPFF_SEND_FLOW_REM, match=match,
            instructions=instructions)
                                                                               ^
ryu/app/simple_switch_12.py:65:1: W293 blank line contains whitespace

^
ryu/app/simple_switch_12.py:77:1: W293 blank line contains whitespace

^
ryu/app/simple_switch_12.py:78:1: W293 blank line contains whitespace

^
ryu/app/simple_switch_12.py:80:9: E303 too many blank lines (2)
        if src not in self.mac_to_port[dpid]:
        ^
ryu/app/simple_switch_12.py:89:1: W293 blank line contains whitespace

^
ryu/app/simple_switch_12.py:91:9: E303 too many blank lines (2)
        if dst in self.mac_to_port[dpid]:
        ^
ryu/app/simple_switch_12.py:96:80: E501 line too long (112 characters)
            instructions =
            
[datapath.ofproto_parser.OFPInstructionActions(ofproto.OFPIT_APPLY_ACTIONS,
            actions)]
                                                                               ^
ryu/app/simple_switch_12.py:97:80: E501 line too long (84 characters)
            self.add_flow(datapath, 1, match, instructions,
            buffer_id=msg.buffer_id)





------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to