Sha256: 5f87a8cc534c1624520a81ac4dedc1a95915ce191326131d4299de7a9d54e383

Contents?: true

Size: 545 Bytes

Versions: 43

Compression:

Stored size: 545 Bytes

Contents

This directory includes an example that demonstrates how you can
retrieve the list of OpenFlow switches currently connected.

# How to Run (C version)

Run this:

  % ./trema run -c ./src/examples/list_switches/list_switches.conf ./objects/examples/list_switches/list_switches

then you will be able to see the list of switches (datapath ids)
periodically.

  switches = 0xe0, 0xe1, 0xe2, 0xe3

# How to Run (Ruby version)

  % ./trema run -c ./src/examples/list_switches/list_switches.conf ./src/examples/list_switches/list-switches.rb

Enjoy!

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
trema-0.4.7 src/examples/list_switches/README
trema-0.4.6 src/examples/list_switches/README
trema-0.4.5 src/examples/list_switches/README
trema-0.4.4 src/examples/list_switches/README
trema-0.4.3 src/examples/list_switches/README
trema-0.4.2 src/examples/list_switches/README
trema-0.4.1 src/examples/list_switches/README
trema-0.4.0 src/examples/list_switches/README
trema-0.3.21 src/examples/list_switches/README
trema-0.3.20 src/examples/list_switches/README
trema-0.3.19 src/examples/list_switches/README
trema-0.3.18 src/examples/list_switches/README
trema-0.3.17 src/examples/list_switches/README
trema-0.3.16 src/examples/list_switches/README
trema-0.3.15 src/examples/list_switches/README
trema-0.3.14 src/examples/list_switches/README
trema-0.3.13 src/examples/list_switches/README
trema-0.3.12 src/examples/list_switches/README
trema-0.3.11 src/examples/list_switches/README
trema-0.3.10 src/examples/list_switches/README