Commit Graph

8 Commits

Author SHA1 Message Date
a3a5f68926 Add newlink/delink processing.
- Can up/down a link.
- Can set MAC on a link, if it's a phy.
- Can set MTU on a link.
- Can delete link (including phy).

Because link state and mtu changes tend to go around in circles (from
netlink -> vpp; and then with lcp-sync on, as well from vpp -> netlink)
when we consume a batch of netlink messages, we'll temporarily turn off
lcp-sync if it's enabled.

TODO (in the next commit), the whole nine yards of creating interfaces
in VPP based on NEWLINK vlans that come in. Conceptualy not too
difficult: if NEWLINK doesn't have a LIP associated with it, but it's a
VLAN, and the parent of the VLAN is a link which _does_ have a LIP, then
we can create the subint in VPP in the correct way.
2021-08-24 18:18:23 +02:00
f2ab33341f Update README.md 2021-08-22 21:15:18 +02:00
4705791743 Update README.md 2021-08-22 21:11:18 +02:00
ea1568b7cc Update README.md
Add a functionality table with the current state of affairs.
2021-08-22 21:06:46 +02:00
caba21ba99 Add README.md and LICENSE 2021-08-22 15:46:19 +02:00
cc0be8341f Add some rambling notes on VPP and LCP and linux interface naming 2021-08-10 20:49:55 +02:00
f408a55cde Add a note (a mental note, really, on why we won't do netlink VPP interface creations 2021-08-08 23:03:48 +02:00
80934a5c46 Initial checkin - renamed the files to avoid clashing with 'lcp' and 'linux-cp' plugin 2021-08-08 19:50:25 +02:00