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
{{ message }}
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.
Hello,
I think we should remove these lines (which are comming from the templates in the roles) from the junos configuration running on the devices:
/* This block of configuration has been generated by the role underlay-ebgp for Ansible */
/* This block of configuration has been generated by the role overlay-evpn-qfx-l2 for Ansible */
...
we do not know where the block finish on the junos devices
most important: the junos device re-order the cli, so under the block /* This block of configuration has been generated by the role underlay-ebgp for Ansible */, we have the interfaces configuration (included the ones that were configured from another role as we can see below
lab@leaf-01> show configuration | match block
/* This block of configuration has been generated by the role underlay-ebgp for Ansible */
/* This block of configuration has been generated by the role overlay-evpn-qfx-l2 for Ansible */
lab@leaf-01> show configuration | find block
/* This block of configuration has been generated by the role underlay-ebgp for Ansible */
interfaces {
xe-0/0/12 {
description "to access";
flexible-vlan-tagging;
unit 10 {
vlan-id 10;
}
unit 11 {
vlan-id 11;
}
}
xe-0/0/13 {
description "to access";
flexible-vlan-tagging;
unit 10 {
vlan-id 10;
}
unit 11 {
vlan-id 11;
}
unit 12 {
vlan-id 12;
}
unit 13 {
vlan-id 13;
}
}
et-0/0/48 {
description " * to spine-01";
mtu 9192;
unit 0 {
family inet {
mtu 9000;
address 172.16.0.1/31;
}
}
}
The text was updated successfully, but these errors were encountered:
Hello,
I think we should remove these lines (which are comming from the templates in the roles) from the junos configuration running on the devices:
We can use this ansible module to remove these lines before to push them on Junos devices http://docs.ansible.com/ansible/lineinfile_module.html
as:
The text was updated successfully, but these errors were encountered: