[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_
Reviewed: https:/ /review. opencontrail. org/38344 github. com/Juniper/ contrail- controller/ commit/ 43afeda04e3d01b 3672181e5a1a8d8 4d213b82d6
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: master
commit 43afeda04e3d01b 3672181e5a1a8d8 4d213b82d6
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_ switch_ export_ community_ members target: 65000:8000002 switch_ export_ policy_
set groups __contrail__ policy-options community _contrail_
set groups __contrail__ switch-options vrf-export _contrail_
Generated XML:
<policy-options> contrail_ switch_ export_ policy_ </name> name>_contrail_ switch_ export_ community_ </community- name>
<junos:comment>/* L2 Switch Global Export Policy */</junos:comment>
<policy-statement>
<name>_
<term>
<name>t1</name>
<then>
<community>
<add/>
<community-
</community>
</then>
</term>
</policy-statement>
</policy-options>
<policy-options> contrail_ switch_ export_ community_ </name> target: 65000:8000002< /members>
<community>
<name>_
<members>
</community>
</policy-options>
<switch-options> _contrail_ switch_ export_ policy_ </vrf-export>
<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: Ic20863144a9201 0f7ca2f4d168ffc b83b808bbbf
Closes-Bug: #1727559