Comment 11 for bug 1727559

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/38344
Committed: http://github.com/Juniper/contrail-controller/commit/43afeda04e3d01b3672181e5a1a8d84d213b82d6
Submitter: Zuul (<email address hidden>)
Branch: master

commit 43afeda04e3d01b3672181e5a1a8d84d213b82d6
Author: sbalineni <email address hidden>
Date: Tue Nov 14 14:51:04 2017 -0800

[DM]: Push right QFX Leaf config for control-node to accept EVPN Type 1 routes (Multi Homing)

Following config will be pushed

set groups __contrail__ policy-options policy-statement _contrail_switch_export_policy_ term t1 then community add _contrail_switch_export_community_
set groups __contrail__ policy-options community _contrail_switch_export_community_ members target:65000:8000002
set groups __contrail__ switch-options vrf-export _contrail_switch_export_policy_

Generated XML:

<policy-options>
<junos:comment>/* L2 Switch Global Export Policy */</junos:comment>
<policy-statement>
<name>_contrail_switch_export_policy_</name>
<term>
<name>t1</name>
<then>
<community>
<add/>
<community-name>_contrail_switch_export_community_</community-name>
</community>
</then>
</term>
</policy-statement>
</policy-options>

<policy-options>
<community>
<name>_contrail_switch_export_community_</name>
<members>target:65000:8000002</members>
</community>
</policy-options>

<switch-options>
<vrf-export>_contrail_switch_export_policy_</vrf-export>
</switch-options>

- Device Schema : CommunityType parameter 'members' is changed from scalar type to array.
More than one member is supported by JUNOS.

- Unit Tests added

- Fixes for UTs after adding support QFX 10K

Change-Id: Ic20863144a92010f7ca2f4d168ffcb83b808bbbf
Closes-Bug: #1727559