diff --git a/salt-pillar/switches/init.sls b/salt-pillar/switches/init.sls index a9d0912..83cf9e1 100644 --- a/salt-pillar/switches/init.sls +++ b/salt-pillar/switches/init.sls @@ -57,6 +57,7 @@ switches: vlans: - mgmt - pub + - priv2 - up1 - up2 - up3 diff --git a/salt/switches/HP-procurve-2824.expect b/salt/switches/HP-procurve-2824.expect index a00778d..b19e39a 100644 --- a/salt/switches/HP-procurve-2824.expect +++ b/salt/switches/HP-procurve-2824.expect @@ -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'] %}