Permalink
Browse files

Fix example .conf files to support ruby gems installed environment.

  • Loading branch information...
1 parent cb56cc7 commit df06d6b8e040d3169c37cb434c5261b8e4ad1cce @y-higuchi y-higuchi committed Mar 5, 2013
Showing with 5 additions and 4 deletions.
  1. +4 −3 topology/topology.conf
  2. +1 −1 topology/topology_fullmesh.conf
View
@@ -17,17 +17,18 @@ vhost ("host2") {
link "0x1", "host1"
link "0x1", "host2"
+$dir = File.dirname( __FILE__ )
run {
- path "../apps/topology/topology"
+ path File.join( $dir, "./topology" )
}
run {
- path "../apps/topology/topology_discovery"
+ path File.join( $dir, "./topology_discovery" )
}
run {
- path "./objects/examples/dumper/dumper"
+ path File.join( Trema.objects, "./examples/dumper/dumper" )
}
event :port_status => "topology", :packet_in => "filter", :state_notify => "topology"
@@ -61,7 +61,7 @@ run {
}
run {
- path "./objects/examples/dumper/dumper"
+ path File.join( Trema.objects, "./examples/dumper/dumper" )
}
event :port_status => "topology", :packet_in => "filter", :state_notify => "topology"

0 comments on commit df06d6b

Please sign in to comment.