mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-29 20:23:01 +02:00
This patch adds a new infix-interface-type, derived from the IANA base type, allowing us to limit the list of supported native interface types. Basing on IANA interface type ensure compatibility with other models, e.g., standard/ieee/published/802.3/ieee802-ethernet-interface.yang, which attaches itself to all interfaces of type ianaift:ethernetCsmacd. Tested with yanglint and in Infix using ieee802-ethernet-interface.yang, the 'ethernet' container was properly attached to interfaces of type infixift:ethernet. Tab completion in the CLI now lists only the supported types. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>