arista-eosplus / rbeapi

Ruby client for Arista eAPI
BSD 3-Clause "New" or "Revised" License
16 stars 16 forks source link

vlans API: {add|remove}_trunk_group methods configure JSON instead of strings. #112

Closed jerearista closed 8 years ago

jerearista commented 8 years ago
irb(main):003:0> node.api('vlans').add_trunk_group(5, value: 'manual')
=> true
bash-4.1# FastCli -p 15 -c 'show run sect vlan'
vlan 5
   trunk group {:value=>"manual"}
jerearista commented 8 years ago

User-error.