Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feature request: command (or documentation on existing commands) for determining controller connection status #43

Open
lantz opened this issue Aug 2, 2013 · 0 comments

Comments

@lantz
Copy link

lantz commented Aug 2, 2013

I'd like to be able to determine whether IVS is connected to a controller. For OVS, this can be done using ovs-vsctl get Bridge s1 Controller, and for the reference user switch it can be done with dpctl status tcp:127.0.0.1:6634, but I can't discern how to do it with IVS.

This would be very useful since I'd like to solve the problem of system-level tests in mininet (notably --pingall) which should not begin until all switches have connected to the controller, which I may not have access to (for example it could be a custom controller running on a remote server.) Providing switch status is also generally useful since it's nice to know if your network control plane is at least connected!!

For UserSwitch and OVSSwitch I was able to implement a connected() method using the above commands, but I'm not sure how to do this with IVS since ivs-ctl doesn't seem to support it (and I wasn't able to immediately find documentation on other methods of configuring IVS, for example using a REST or JSON API.)

rlane added a commit to rlane/ivs that referenced this issue Apr 22, 2014
* submodules/switchlight-common 2318ad4...6b1204b (4):
  > Merge into master from pull request floodlight#43: arpa: look for ARP flag in the packet-in metadata instead of the reason (floodlight/switchlight-common#43)
  > Merge into master from pull request floodlight#42: icmpa: support multiple pktin-reasons (floodlight/switchlight-common#42)
  > Add ARP Response Agent.
  > Merge into master from pull request floodlight#41: Update switchlight-common and fix module utests (floodlight/switchlight-common#41)
poolakiran pushed a commit to poolakiran/ivs that referenced this issue Nov 26, 2014
rlane added a commit to rlane/ivs that referenced this issue Jan 28, 2015
* submodules/bigcode 73f6383...c18a17a (3):
  > Set thread name.
  > Merge into master from pull request floodlight#44: Trivial thread abstractions. (floodlight/bigcode#44)
  > Merge into master from pull request floodlight#43: Enhanced Semaphores (floodlight/bigcode#43)
rlane added a commit to rlane/ivs that referenced this issue Apr 4, 2015
* submodules/infra ed664b3...34c8fdd (1):
  > Merge into master from pull request floodlight#43: AIM: set size to zero in aim_pvs_buffer_reset (floodlight/infra#43)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant