JNPRAutomate / ansible-junos-evpn-vxlan

Sample project that use Ansible and Jinja2 template to automatically generate configurations for Juniper devices deploy in EVPN/VXLAN fabric mode
MIT License
91 stars 64 forks source link

"Check connectivity ANY2ANY between Leaf" failure (when inter PODs) #37

Open ksator opened 7 years ago

ksator commented 7 years ago

The tests in the task Check connectivity ANY2ANY between Leaf (galaxy/junos_ping) of the playbook pb.check.underlay.yaml fail when it is cross POD tests.

Ideally we should rewrite this task.

They fail for 2 reasons:

    policy-statement bgp-ipclos-out {
        term loopback {
            from {
                protocol direct;
                route-filter {{ loopback_ip }}/32 orlonger;
            }
            then {
{% if underlay.community is defined %}
                community add MYCOMMUNITY;
{% endif %}
                next-hop self;
                accept;
            }
        }
{% if underlay.community is defined %}
        term as-path {
            from {
                as-path asPathLength2;
                community MYCOMMUNITY;
            }
            then reject;
        }
{% endif %}