できる!trema-switch

download できる!trema-switch

If you can't read please download the document

description

trema-switchの最近の動向についてまとめました。まず概要、次に開発者向け情報、最後に今後の相談について記載しています。

Transcript of できる!trema-switch

  • 1. trema-switch Hiroaki KAWAI

2. Introducing myself ApacheWebOSS ACCESSIIJ SDN Ruby 3. Interop Tokyo 2013 SDN ShowCase OmniSphere 1.0 Buffalo G301N Trema-switch / OpenWRT 4. Trema-switch 5. Trema-switch Part of trema-edge Github https://github.com/trema/trema-edge Trema Openflow 1.3 software switch trema C netdevport Openflow1.3 6. C Open vSwitch CpqD ofsoftswitch13 Indigo (IVS) Erlang LINC Lagopus C C C kernel module or netdev netdev netdev netdev dpdk Pantou OpenWRT 7. Trema-switch build $ rake trema_switch $ gcc src/lib/*.c src/switch/*/*.c 8. OpenWRT feed Trema-switch feed https://github.com/iHiroakiKawai/trema-openwrt OpenWRT feeds.conf uClibc 9. Trema-switch $ sudo TREMA_HOME=/var/tmp/sw1./trema-switch-i 1-e veth0a,veth1a,veth2a-c 192.168.1.201 -p 6653-l debug-t syslog,stdout OpenWRT Datapath_id: 1 veth0a veth1a veth2a tcp:192.168.1.201:6653 10. Trema-switch Ryu certification 8: CPU 8: 11. Open vSwitch CpqD ofsoftswitch13 Indigo (IVS) LINC Lagopus 673 /318 657 /330 386 /605 535 /444 952 /27 OK /NG PoC trema-switch http://osrg.github.io/ryu/certification.html 12. Openflow OpenWRT Raspberry Pi Intel NUC USB NIC 13. Inside trema-switch 14. trema_switch 2013-01 2013-02 2013-03 2013-04 2013-05 2013-06 2013-07 2013-08 2013-09 2013-10 2013-11 2013-12 2014-01 2014-02 2014-03 2014-04 2014-05 2014-06 0 10 20 30 40 50 60 Date Commits 15. Flags WITH_PCAP USE_PCAP_IMMEDIATE_MODE GROUP_SELECT_BY_HASH $ gcc -DWITH_PCAPsrc/lib/*.{c,h}src/switch/*/*.{c,h}-lpcap ... 16. WITH_PCAP Clibpcap mmap TPACKET_V3 Linux 3 VLAN offloading Double taggingKernel 3.14 + libpcap patch#346 Kernel 2 17. USE_PCAP_IMMEDIATE_MODE libpcap pcap_set_immediate_mode() TPACKET_V2/V3 TPACKET_V3 TPACKET_V2 18. GROUP_SELECT_BY_HASH Group output Bucket SELECT Ethernet Out-of-order 19. $ gcc -Wall -std=gnu99-D_GNU_SOURCE-DGROUP_SELECT_BY_HASH-DWITH_PCAP-DUSE_PCAP_IMMEDIATE_MODE-Isrc/lib -Isrc/switch/datapath -Isrc/switch/switchsrc/lib/*.c src/switch/*/*.c-lsqlite3 -lpthread -lrt -lpcap-o trema_switch 20. signal SIGUSR1 Flow table dump SIGUSR2 Group table dump Info 21. And more 22. OpenWRT feed +patch trema-edge HEAD snapshot 23. Trema-switchOpenflow CONTROLLER meter Queue Role AsyncConfig SSL Performance tuning Containers Packet parser Thread safety switch-manager 24. Open repository OSSExperimenter ID TCP SYN,ACK,FIN match field 25. trema or trema-edge 26. Gopenflow Golang pthread https://github.com/hkwi/gopenflow Pcap netdevdpdk Windows Ryu certification OK(981) / ERROR(10) 27. 28. SDN