Ping Test
Steps
Connect the DUT to another host with at least one link
- The other host can be any device, not necessarily FBOSS device.
Generate agent config based on cable connection and assign IPs to connected interfaces
- All agent config settings are the same as link test, except that we need to assign IP to the L3 interfaces connected to the other device.
- For example, say port eth1/1/1 is connected to the other host. This port is put in vlan interface 2001, with assigned IP addresses "2400::/64" and "10.0.0.0/24".
"ports": [
{
"logicalID": 9,
"state": 2,
"minFrameSize": 64,
"maxFrameSize": 9412,
"parserType": 1,
"routable": true,
"ingressVlan": 2001,
"speed": 400000,
"name": "eth1/1/1",
...
},
...
]
"interfaces": [ { "intfID": 2001, "routerID": 0, "vlanID": 2001, "ipAddresses": [ "2400::/64", "10.0.0.0/24" ], ... }, ... ]
Generate QSFP config
Build FBOSS qsfp_service binary
Build FBOSS wedge_agent binary
Bring up qsfp_service on both devices
Bring up wedge_agent on both devices
Verify link connected to the other host is up
- “fboss2 show port” to verify port up
- “fboss2 show interface” to verify correct IP assigned
Verify ping works between DUT and the other host
- just use
ping <remote host IP>command in Linux - Some use fboss2 commands to help debugging:
- “fboss2 show mac details” to verify mac entry to the other host is learned
- “fboss2 show ndp” to verify ndp entry to the other host is learned
- "fboss2 show arp"
- “fboss2 start|stop pcap” to start and stop capturing all control packets sent to/received by FBOSS control plane
- just use