ansible provisioining needs to set encap priority

Bug #1658119 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
High
Vedamurthy Joshi

Bug Description

If the user does not supply the encap order , ansible should default it to vxlan,mplsoudp,mplsogre in that order

Ref : https://github.com/Juniper/contrail-controller/blob/master/src/config/utils/provision_encap.py

root@nodec7:~# curl -u admin:contrail123 http://127.0.0.1:8095/global-vrouter-config/b39d69a9-3148-466c-8cc2-859790e1a40f | python -m json.tool
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 1413 100 1413 0 0 251k 0 --:--:-- --:--:-- --:--:-- 275k
{
    "global-vrouter-config": {
        "display_name": "default-global-vrouter-config",
        "encapsulation_priorities": {
            "encapsulation": [
                "VXLAN",
                "MPLSoUDP",
                "MPLSoGRE"
            ]
        },

Tags: provisioning
Revision history for this message
Harish Kumar (hkumarmk) wrote :
Revision history for this message
Harish Kumar (hkumarmk) wrote :
Changed in juniperopenstack:
status: New → Fix Committed
assignee: Harish Kumar (hkumarmk) → Vedamurthy Joshi (vedujoshi)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.