You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the junos_l2_interface module to update vlan on interface, the "new" vlan is simply added to the vlan member list of an access port resulting in a failed commit.
Expected behavior:
Replace existing vlan configured on the port with new vlan being configured.
show interfaces xe-0/0/29
description FREE;
enable;
unit 0 {
family ethernet-switching {
interface-mode access;
vlan {
members 2402;
}
}
}
After change:
show interfaces xe-0/0/29
description FREE;
enable;
unit 0 {
family ethernet-switching {
interface-mode access;
vlan {
members 2403;
}
}
}
ACTUAL RESULTS
show configuration interfaces ge-1/0/29
description HBP04-13;
enable;
unit 0 {
family ethernet-switching {
interface-mode access;
vlan {
members [ 2402 2403 ];
}
}
}
fatal: [switch1]: FAILED! => {"changed": false, "module_stderr": "b'error: Access interface <ge-1/0/29.0> has more than one vlan member: <v2011> and <v2010>\\nerror: configuration check-out failed'", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error"}
The text was updated successfully, but these errors were encountered:
SUMMARY
When using the junos_l2_interface module to update vlan on interface, the "new" vlan is simply added to the vlan member list of an access port resulting in a failed commit.
Expected behavior:
Replace existing vlan configured on the port with new vlan being configured.
ISSUE TYPE
COMPONENT NAME
junipernetworks.junos.junos_l2_interfaces
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
12.3R12-S21
STEPS TO REPRODUCE
EXPECTED RESULTS
Before change:
After change:
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: