Zodiac FX using two controllers such as Faucet and Gauge

  • 5 Replies
  • 372 Views
*

toiletduck123

  • Newbie
  • *
  • 6
    • View Profile
Zodiac FX using two controllers such as Faucet and Gauge
« on: June 11, 2018, 11:54:22 PM »
I am doing an internship focused around using the Zodiac FX switch with Faucet as a controller which usually uses Gauge as a second controller to provide data to Prometheus/Grafana.

I am trying to understand this topic more and I can't seem to find an answer to my question:

Why can the Zodiac FX only use one controller as stated in the Faucet documentation about the Zodiac FX?  What is the limiting factor that only allows one controller?

https://docs.faucet.nz/en/latest/vendors/northboundnetworks/README_ZodiacFX.html
"ZodiacFX allows only one controller (so you cannot run Gauge)."

Thanks in advance!

Re: Zodiac FX using two controllers such as Faucet and Gauge
« Reply #1 on: June 12, 2018, 09:37:30 AM »
The Zodiac FX currently only supports one controller. This is a limitation of the current firmware on the switch.

Regards,
Kris

*

toiletduck123

  • Newbie
  • *
  • 6
    • View Profile
Re: Zodiac FX using two controllers such as Faucet and Gauge
« Reply #2 on: June 12, 2018, 05:55:28 PM »
The Zodiac FX currently only supports one controller. This is a limitation of the current firmware on the switch.

Thanks for the information Kris! Is the limitation simply it hasn't been implemented in the firmware or is there anything to do with the physical switch itself that prevents this?

How could that functionality be implemented?  I really want to better understand the inner workings of the switch.

James

Re: Zodiac FX using two controllers such as Faucet and Gauge
« Reply #3 on: June 13, 2018, 10:42:54 AM »
I don't see any hardware limitations on the Zodiac FX that prevents this feature. I believe it can be done in firmware on the switch.

If you're interested in the firmware implementation, the open source code is available here: https://github.com/NorthboundNetworks/ZodiacFX
Search for 'Zodiac_Config.OFPort' if you want to see some of the relevant sections.

In terms of implementing the functionality, the original firmware was designed to support one controller, so quite a few adjustments would need to be made. The configuration structure currently only holds one value (to select one of ports 1-4), and the OpenFlow processing loop handles that specified port. Configuration changes would also need to be exposed to the user (CLI and web interface).

We can see if we can potentially fit this feature into a future firmware release - I can log a feature request for you, if you'd like. :)

Regards,
Kris

*

toiletduck123

  • Newbie
  • *
  • 6
    • View Profile
Re: Zodiac FX using two controllers such as Faucet and Gauge
« Reply #4 on: June 13, 2018, 06:36:13 PM »
I understand what you mean with the source code!

From my short experience with the Zodiac, I definitely think that would be a useful feature! The reason I was asking was because my plan was to run Faucet as the network controller alongside Gauge which could provide controller monitoring.

https://faucet-sdn.blogspot.com/2016/06/raucet-raspberry-pi-faucet-controlling.html

https://blog.cyberreboot.org/building-a-software-defined-network-with-raspberry-pis-and-a-zodiac-fx-switch-97184032cdc1

^ Something along the lines of these links, then Grafana could display statistics provided by Gauge.

Re: Zodiac FX using two controllers such as Faucet and Gauge
« Reply #5 on: June 14, 2018, 11:50:36 AM »
Got it - I'll update this thread when I've got some more information for you.