forked from ligato/vpp-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Testing scenarios
Ondrej Fabry edited this page Oct 30, 2017
·
2 revisions
Notes
- Interfaces must NOT have IP address before assignment to VRF table!
- If VRF table was not created before assignment, it will be created automatically.
This process assigns VRF table to interface.
- create new interface IFACE
- assign VRF table X to IFACE
- set IP address for IFACE
Now the routes for the interface will be listed in the assigned VRF table.
This process assigns VRF table to interface and then changes back to default table (VRF 0).
- create new interface IFACE
- assign VRF table X to IFACE
- set IP address for IFACE
- unset all IP addresses from IFACE
Now the assigned VRF table will be automatically deleted, since no other interface uses it.
This process will crash the VPP!!
- create new interface IFACE
- assign VRF table X to IFACE
- add IP address for IFACE
- delete IP address from IFACE
- delete VRF table X
- add IP address for IFACE
This is probably caused by some access of invalid pointer from deleted VRF table.
vpp-agent-ctl -put /vnf-agent/vpp1/vpp/config/v1/vrf/2 - << EOF
{
"name": "vrf2",
"interfaces": [
{ "name": "pg0" }
]
}
EOF