Skip to content
This repository
Browse code

Update README of show_description

  • Loading branch information...
commit 795922bfa414758d528b4ed15d2b3aef54ec2827 1 parent a60237d
kazuya authored
1  flow_dumper/README.md
Source Rendered
@@ -34,6 +34,7 @@ How to run
34 34 $ trema run ./apps/flow_dumper/flow_dumper
35 35
36 36 Or
  37 +
37 38 $ trema run ./apps/flow_dumper/flow-dumper.rb
38 39
39 40 If you have any flow entries, you can see output like follows:
8 show_description/README
... ... @@ -1,8 +0,0 @@
1   -This directory includes examples that shows how to get switch description
2   -using stats-request and features-request message.
3   -
4   -# How to Run
5   -
6   - % ./trema run -c ../apps/routing_switch/routing_switch_fullmesh.conf -d
7   -
8   - % TREMA_HOME=`pwd` ../apps/show_description/show_description
40 show_description/README.md
Source Rendered
... ... @@ -0,0 +1,40 @@
  1 +Show Description Application
  2 +=============================
  3 +
  4 +What's this?
  5 +------------
  6 +
  7 +This directory includes examples that shows how to get switch description
  8 +using stats-request and features-request message.
  9 +
  10 +How to build
  11 +------------
  12 +
  13 + Get Trema and Apps
  14 +
  15 + $ sudo gem install trema
  16 + $ git clone git://github.com/trema/apps.git apps
  17 +
  18 + Build show desription application
  19 +
  20 + $ cd ./apps/show_description
  21 + $ make
  22 +
  23 +How to Run
  24 +------------
  25 +
  26 + $ trema run ./show_description -c ./show_description.conf
  27 +
  28 +License
  29 +------------
  30 +
  31 +Copyright (C) 2011-2013 NEC Corporation
  32 +
  33 +This program is free software; you can redistribute it and/or modify
  34 +it under the terms of the GNU General Public License, version 2, as
  35 +published by the Free Software Foundation.
  36 +
  37 +This program is distributed in the hope that it will be useful, but
  38 +WITHOUT ANY WARRANTY; without even the implied warranty of
  39 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  40 +General Public License for more details.
13 show_description/show_description.conf
... ... @@ -0,0 +1,13 @@
  1 +vswitch {
  2 + datapath_id "0x1"
  3 +}
  4 +
  5 +vhost ("host1")
  6 +vhost ("host2")
  7 +vhost ("host3")
  8 +vhost ("host4")
  9 +
  10 +link "0xe0", "host1"
  11 +link "0xe0", "host2"
  12 +link "0xe0", "host3"
  13 +link "0xe0", "host4"

0 comments on commit 795922b

Please sign in to comment.
Something went wrong with that request. Please try again.