To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaborator"Hello Trema!" example
The "Hello Trema!" example ([trema]/src/examples/hello_trema/) is one
of the simplest OpenFlow controller implementation. The basic
functionality of this controller is to establish a secure channel connection
with an OpenFlow switch and output the "Hello [switch's dpid]!" message.
This demonstrates a minimum template for Trema applications written in Ruby
or C. Hence it's a good starting point to learn about Trema programming.
- Background
-
- Given
- I cd to "../../src/examples/hello_trema/"
- Scenarios
-
- Run the Ruby example
-
- When
-
I run
trema run ./hello-trema.rb -c sample.conf
interactively - Then
- the output should contain "Hello 0xabc!" within the timeout period
- Run the C example
-
- Given
- I compile "hello_trema.c" into "hello_trema"
- When
-
I run
trema run ./hello_trema -c sample.conf
interactively - Then
- the output should contain "Hello 0xabc!" within the timeout period
Last published over 7 years ago by y-higuchi.