resources iosxe_interface_ethernet should support type 'Port-channel'/'Vlan'
Opened this issue · 0 comments
sthoneder commented
Configuring a layer 2 port-channel also requires ethernet attributes to be set. Currently Port-channel
is not a valid type
element.
Sample IOS-XE CLI config
interface Port-channel1
description #uplink
switchport mode trunk
ip arp inspection trust <<<< ethernet attribute
spanning-tree link-type point-to-point <<<< ethernet attribute
spanning-tree guard loop <<<< ethernet attribute
ip dhcp snooping trust <<<< ethernet attribute
Hence iosxe_interface_ethernet
should also allow type Port-channel
/Vlan
as choice element for attribute type
.
Sampel Yang Model Path
/native/interface/Port-channel/ip/arp/inspection/trust