feature: add descriptive cli command output for 'set interface feature' 95/23295/9
authorPaul Vinciguerra <pvinci@vinciconsulting.com>
Wed, 6 Nov 2019 18:25:17 +0000 (13:25 -0500)
committerDamjan Marion <dmarion@me.com>
Tue, 17 Dec 2019 18:26:59 +0000 (18:26 +0000)
commita4e2e7cc95250220e0d892eb11dcc0adc9fd7e22
treef87002418ae1d0eeabd09e1a6af52b1cd58b76bf
parentbaa171041bc950f192c147f7b79a8add2299b74a
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 <pvinci@vinciconsulting.com>
src/vnet/feature/feature.c