[R2.20]DM: use VNID for IRB interface rather than VxLAN ID

Bug #1468921 reported by amit surana
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
High
Suresh Balineni
Trunk
Fix Committed
High
Suresh Balineni

Bug Description

Using the VxLAN id for numbering the IRB interface is not a good idea as the legal junos interface-range tops out at 16k.

Figure out a scheme such that we pick an available number within the valid interface-range. Could use the same that is used for si-*.

VxLAN id of 50000 was configured. Resulting config:

_contrail_l2_6206_vn2 {
    vtep-source-interface lo0.0;
    instance-type virtual-switch;
    vrf-import _contrail_l2_6206_vn2-import;
    vrf-export _contrail_l2_6206_vn2-export;
    protocols {
        evpn {
            encapsulation vxlan;
            extended-vni-list all;
        }
    }
    bridge-domains {
        bd-500000 {
            vlan-id none;
            routing-interface irb.50000;
            vxlan {
                vni 500000;
            }
        }
    }

root@cmbu-tasman# commit check
error: 'irb.50000' is not a valid interface-range or alias name

amit surana (asurana-t)
description: updated
amit surana (asurana-t)
description: updated
Nischal Sheth (nsheth)
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

Review in progress for https://review.opencontrail.org/12044
Submitter: Suresh Balineni (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/12044
Committed: http://github.org/Juniper/contrail-controller/commit/d238b375fb33c138dbd2a9d895d08a99077033b2
Submitter: Zuul
Branch: R2.20

commit d238b375fb33c138dbd2a9d895d08a99077033b2
Author: sbalineni <email address hidden>
Date: Thu Jun 25 18:23:15 2015 -0700

DM: Use vn-id for configuring irb interfaces

- currently vxlan id is used for configuring irb unit numbers.
MX does not allow more than 16k.

- filter configuration:
destination-address should emebedded in a seperate xml element.

Change-Id: Id06cc8859467ecaa204dd8c5403f8ee2a7f662c3
Closes-Bug: #1468921
Closes-Bug: #1468929

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/12117
Submitter: Suresh Balineni (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/12117
Committed: http://github.org/Juniper/contrail-controller/commit/b40fc7396b9687829d099433dd26528cfe625b7b
Submitter: Zuul
Branch: master

commit b40fc7396b9687829d099433dd26528cfe625b7b
Author: sbalineni <email address hidden>
Date: Tue Jun 30 17:30:51 2015 -0700

DM: porting fixes from R2.20 to main

Change-Id: I45e9a34f0ea36776ecd1f2066ad20fb2833d88ce
Closes-Bug: #1468929
Closes-Bug: #1468921

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.