Zodiac port config not updating from Faucet.yaml

  • 4 Replies
  • 849 Views
*

toiletduck123

  • Newbie
  • *
  • 6
    • View Profile
Zodiac port config not updating from Faucet.yaml
« on: June 16, 2018, 12:02:02 AM »
As mentioned in a previous post, running Faucet as a controller for the Zodiac, Faucet is running on a RPi.

I have configured the faucet.yaml file as:

dps:
  zodiac-fx-1:
    dp_id: 0x70b3d56cd32e
    hardware: ZodiacFX
    proactive_learn: true
    interfaces:
      1:
        native_vlan: demo
      2:
        native_vlan: demo
      3:
        native_vlan: mirror
vlans:
  demo:
    vid: 300
  mirror:
    vid: 101
    max_hosts: 0

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

When I type "show ports" on the Zodiac, it returns:

Port 1
 Status: UP
 VLAN type: OpenFlow
 VLAN ID: 100
 RX Bytes: 27622
 TX Bytes: 18016
 RX Packets: 296
 TX Packets: 181
 RX Dropped Packets: 0
 TX Dropped Packets: 0
 RX CRC Errors: 0

Port 2
 Status: UP
 VLAN type: OpenFlow
 VLAN ID: 100
 RX Bytes: 22168
 TX Bytes: 23392
 RX Packets: 210
 TX Packets: 265
 RX Dropped Packets: 0
 TX Dropped Packets: 0
 RX CRC Errors: 0

Port 3
 Status: UP
 VLAN type: OpenFlow
 VLAN ID: 100
 RX Bytes: 228
 TX Bytes: 0
 RX Packets: 2
 TX Packets: 0
 RX Dropped Packets: 0
 TX Dropped Packets: 0
 RX CRC Errors: 0

Port 4
 Status: UP
 VLAN type: Native
 VLAN ID: 200
 RX Bytes: 22666
 TX Bytes: 24950
 RX Dropped Packets: 0
 TX Dropped Packets: 0
 RX CRC Errors: 0

Why might the ports not be being updated according to the Faucet.yaml?

I can confirm in the debug trace that the controller is communicating with the switch, it has updated flow tables and allowed two clients on port 1 and port 2 to communicate to one another however I need these ports to configure so I can mirror traffic off port 3.

Any ideas?

*

Paul Zanna

  • Moderator
  • Sr. Member
  • *****
  • 367
    • View Profile
    • Northbound Networks
Re: Zodiac port config not updating from Faucet.yaml
« Reply #1 on: June 18, 2018, 08:49:44 AM »
Hi,

What information was it you were expecting to be updated on the Zodiac FX by Faucet?

Regards,
Paul

*

toiletduck123

  • Newbie
  • *
  • 6
    • View Profile
Re: Zodiac port config not updating from Faucet.yaml
« Reply #2 on: June 18, 2018, 05:44:02 PM »
Hey Paul!

I was hoping the VLAN ID's would be updated for the ports!  I am yet to implement the mirror port which I assume will be done through some form of ACL in the Faucet.yaml.  Should the VLAN ID's not be updating for my current yaml or am I misunderstanding the setup?

Thanks in advance

James
« Last Edit: June 18, 2018, 06:41:34 PM by toiletduck123 »

*

Paul Zanna

  • Moderator
  • Sr. Member
  • *****
  • 367
    • View Profile
    • Northbound Networks
Re: Zodiac port config not updating from Faucet.yaml
« Reply #3 on: June 20, 2018, 03:16:03 PM »
Hi James,

The Faucet and Zodiac FX configurations are entirely independent of each other, just as they would be for any OpenFlow device that you use with Faucet. You can always name things the same to keep track of them, but none of it will carry over to the other.

Regards,
Paul

*

toiletduck123

  • Newbie
  • *
  • 6
    • View Profile
Re: Zodiac port config not updating from Faucet.yaml
« Reply #4 on: June 20, 2018, 07:49:10 PM »
Paul,

That is very helpful and informative, I didn't know that!

Thanks very much

James