feature: add descriptive cli command output for 'set interface feature' 55/28255/1
authorPaul Vinciguerra <[email protected]>
Wed, 6 Nov 2019 18:25:17 +0000 (13:25 -0500)
committerAndrew Yourtchenko <[email protected]>
Wed, 12 Aug 2020 07:43:14 +0000 (07:43 +0000)
commit43deb075fb01c7f91f5e8f3cf0b29a0a1309c2fe
treef7d37df47b67dda44936616a5da804c2e4a44b90
parent67cb0f82a1101a12351a2e4b7ba9436a73a75ddc
feature: add descriptive cli command output for 'set interface feature'

  DBGvpp# set interface feature local0 arp-foo arc bad-arc
  set interface feature: Unknown arc name (bad-arc)...

  DBGvpp# set interface feature local0 arp-foo arc arp
  set interface feature: Feature (arp-foo) not registered to arc (arp)...
  See 'show features verbose' for valid feature/arc combinations.

  DBGvpp# set interface feature local0 arp-disabled arc arp

Type: fix

Change-Id: I036bb2a75dd2d40f6901e4fde3eb14925238e19b
Signed-off-by: Paul Vinciguerra <[email protected]>
(cherry picked from commit a4e2e7cc95250220e0d892eb11dcc0adc9fd7e22)
src/vnet/feature/feature.c