switches/HP-procurve-2824: don't deconfig trunks

these switches will immediately autoconfigure a "dynamnic trunk" that is
quickest dissolved by going onsite, unlocking the rack, and unplugging
the cables.
This commit is contained in:
Astro 2016-11-22 23:55:15 +01:00
parent 710f5973f5
commit 952c0f3b19
2 changed files with 3 additions and 2 deletions

View File

@ -57,6 +57,7 @@ switches:
vlans:
- mgmt
- pub
- priv2
- up1
- up2
- up3

View File

@ -62,8 +62,8 @@ expect "(config)# "
{%- if conf['mode'] == 'trunk' %}
{%- set group = group + 1 %}
send "no trunk {{ conf['ports'] }}\r"
expect "(config)# "
# send "no trunk {{ conf['ports'] }}\r"
# expect "(config)# "
send "trunk {{ conf['ports'] }} trk{{ group }} lacp\r"
expect "(config)# "
{%- for vlan_name in conf['vlans'] %}