Comments (7)
trema run を修正したので、いまは TREMA_HOME の指定なしでいきなり show_topology が実行できるはずです。本のほうにはそれで書いてあるので、README.md の修正だけで OK っぽいですね。
@kazuyas 隊長、修正をおねがいしていいですか? 🍻 (ビール 2 杯)
from apps.
こんな感じで Trema を起動しているのですが、
sudo LOGGING_LEVEL=$TREMA_LOG_LEVEL TREMA_TMP=$TREMA_TMP_DIR
trema run -d -c $TREMA_SS_CONFIG
そうすると、
ubuntu@ostack01:/opt/stack/trema/apps/topology (current)$ sudo ./show_topology -g
Failed to bind ( fd = 4, sun_path = /tmp/sock/trema.show_topology.m.sock, errno = No such file or directory [2] ).
Failed to create a receive queue.
Failed to bind ( fd = 4, sun_path = /tmp/sock/trema.topology-client-28184.sock, errn o = No such file or directory [2] ).
Failed to create a receive queue.
Failed to bind ( fd = 4, sun_path = /tmp/sock/trema.topology-client-28184.sock, errn o = No such file or directory [2] ).
Failed to create a receive queue.
Could not create a PID file: /tmp/pid/show_topology.pid
と怒られました。
標準のパス以外の TREMA_TMP を指定すると動かないように見えます。
環境は以下です。
$ gem list | grep trema
trema (0.3.3)
$ git show | head -1
commit 2f43863
from apps.
ありがとうございます。これは恐らく別件のバグですので、すみませんが別 issue を切ってもらえますか?
それとは別に、README.md の更新おねがいします! > @kazuyas
from apps.
#24 を作っておきました。
from apps.
これ trema 本体の #241 とも関係しています。
いまだと、以下のように "" で囲まないとだめだった思います。
$ trema run "./show_topology -G" | graph-easy
#241 はすぐ直りますか?直らないのであれば、"" 付きで修正しておきます。
from apps.
gli を導入してオプションの位置付けを整理したので、たぶんできると思います。
ちょっと gli を確認してみまする。
from apps.
trema/trema#241 に詳しく書きましたが、よくよく考えたら "" 無しだといろいろ問題あるので、コントローラにオプションを付けたい場合には必ず「"" あり」でおねがいします。というわけで README.md のほうよろしくお願いしまする。
from apps.
Related Issues (17)
- Topology: reversed logic for detecting external port
- Slicable switch VM MAC address overlapping support? HOT 1
- Sliceable Switch のリリース HOT 1
- Fail to build flow_manager examples when trema gem is used
- Refine show-switch-features.rb HOT 2
- sliceable switch cannot handle 64bit dpid with MSB set HOT 2
- show_topology fails when TREMA_TMP is other than TREMA_HOME/tmp HOT 2
- No space between ID and description when ID is long
- [sliceable_switch] (trivial) description がカラの場合、表示が統一されていない HOT 1
- Unable to compile sliceable_routing_switch
- sliceable_switch REST server does not work with apache 2.4.x HOT 2
- Doc/Missing install dependency: tar HOT 1
- [Ubuntu 14.04] Sliceable Switch ./create_table.sh creates wrong filter entry and it breaks Sliceable Switch completely HOT 1
- handle_switch_ready() handler in routing_switch
- [sliceable_switch] error: Duplicated path found. HOT 1
- port mirroring on trema ?help
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apps.