Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

トポロジイベントの取得ハンドラ #2

Open
yasuhito opened this issue Jul 4, 2014 · 0 comments
Open

トポロジイベントの取得ハンドラ #2

yasuhito opened this issue Jul 4, 2014 · 0 comments

Comments

@yasuhito
Copy link
Member

yasuhito commented Jul 4, 2014

別アプリから次のような API を使えるように:

  • 現在のトポロジを一括取得
  • トポロジ (スイッチ、ポート、リンク) の (追加・削除・状態変化) の通知を受けるハンドラ

イメージとしては、ユーザのコントローラクラスで

include Topology

のように指定する事で、

  • get_all_{switch,port,link}
  • switch_added, switch_removed, switch_updated
  • port_added, port_removed, port_updated
  • link_added, link_removed, link_updated

のようなメソッド/ハンドラが利用可能となるかんじ。

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant