Monday, November 28, 2016

FAUCET supports Netronome adaptors

Netronome produce PCIe adaptors, with an OVS interface (https://www.netronome.com/products/agilio-cx/).

The following shows an Agilio CX 2x10GbE card controlled by FAUCET. As you can see, because the interface to the card is just OVS, FAUCET works exactly the same way as if it were controlling an OVS software-only switch.

root@faucet:~# cat /etc/ryu/faucet/faucet.yaml 
version: 2
vlans:
    100:
        name: "test"
dps:
    netronome-faucet-1:
        dp_id: 0x154d122298
        hardware: "Netronome"
        interfaces:
            1:
                native_vlan: 100
            2:
                native_vlan: 100
root@faucet:~# ovs-ofctl -OOpenFlow13 dump-ports br0
OFPST_PORT reply (OF1.3) (xid=0x2): 3 ports
  port LOCAL: rx pkts=0, bytes=0, drop=0, errs=0, frame=0, over=0, crc=0
           tx pkts=0, bytes=0, drop=0, errs=0, coll=0
           duration=2570.775s
  port  1: rx pkts=14277135, bytes=1056790647, drop=2, errs=0, frame=0, over=0, crc=0
           tx pkts=14338267, bytes=1061587014, drop=0, errs=0, coll=0
           duration=2527.524s
  port  2: rx pkts=14338260, bytes=1061586428, drop=2, errs=0, frame=0, over=0, crc=0
           tx pkts=14277141, bytes=1056790806, drop=0, errs=0, coll=0
           duration=2525.995s
root@faucet:~# ovs-vsctl show 
395541e6-c046-41ad-a32e-bbe2781b9dbe
    Bridge "br0"
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port "sdn_p1"
            Interface "sdn_p1"
        Port "sdn_p0"
            Interface "sdn_p0"
        Port "br0"
            Interface "br0"
                type: internal
    ovs_version: "2.5.1"

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.