New appctl 'lldp/neighbor' displays lldp neighbor information. Support json output with --format json --pretty Supoort dot1 and dot3 tlv
v2: fix code lint and build warn v3: fix more static analyze error v4: fix build error v5: add json output, add NEWS v6: add dot1 and dot3, fix review problems v7: split patch to patch set v8: refactor dot1 and dot3 from lldpd, fix review problems v9: clean dot1,dot3 list, fix review problems v10: refine CLI output format, fix review problems v11: fix build in windows, remove <None> in json format v12: decode more fields, generate test pkt with scapy v13: add python scapy in cirrus test Changliang Wu (4): util: Introduce nullable string op functions. lldp: Add ovs-appctl lldp/neighbor command. lldp: Decode dot1,3 tlv and display in lldp/neighbor. tests: lldp: Add testcases for lldp/neighbor. .cirrus.yml | 2 +- NEWS | 4 + lib/colors.c | 2 +- lib/lldp/lldp-const.h | 5 + lib/lldp/lldp.c | 176 +++++++- lib/lldp/lldpd-structs.c | 33 ++ lib/lldp/lldpd-structs.h | 73 ++- lib/lldp/lldpd.c | 5 + lib/ovs-lldp.c | 890 ++++++++++++++++++++++++++++++++++++- lib/util.h | 12 + tests/automake.mk | 1 + tests/ovs-lldp.at | 397 +++++++++++++++++ tests/testsuite.at | 1 + vswitchd/ovs-vswitchd.8.in | 4 + 14 files changed, 1591 insertions(+), 14 deletions(-) create mode 100644 tests/ovs-lldp.at -- 2.43.5 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
