Permalink
Browse files

Merge pull request #26 from y-higuchi/fix_example_conf

Fix topology's example .conf files to support ruby gems installed environment.
  • Loading branch information...
2 parents cb56cc7 + df06d6b commit 7310ea4e9a41a99bb48861d865ed281cde162ae9 @yasuhito yasuhito committed Mar 21, 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 7310ea4

Please sign in to comment.