External network route target limited to 16 bit instead of 32 bit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel Contrail plugin |
Fix Released
|
Medium
|
Unassigned | ||
3.0.x |
Fix Released
|
Medium
|
Unassigned | ||
4.x.x |
Fix Released
|
Medium
|
Unassigned |
Bug Description
FUEL 8.0, Contrail 3.0.1, plugin git master branch checkout on 2016-05-13.
Trying to enter route target local part in Fuel UI for the Contrail plugin, it refuses to take any values bigger than 2^16. This would be correct for standard BGP communities, but extended communities (e.g. route targets) support 32 bits for the local part.
Bug is in environment_
contrail_
value: '10000'
label: 'Route Target'
description: 'The route target number for Contrail external network'
weight: 60
type: "text"
regex:
source: '^(?:(6553[
error: "Invalid target"
regex needs to be adapted to 32 bits.
Changed in fuel-plugin-contrail: | |
status: | New → Invalid |
Changed in fuel-plugin-contrail: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Oleksandr Martsyniuk (omartsyniuk) |
milestone: | none → 4.0.0 |
Changed in fuel-plugin-contrail: | |
status: | Confirmed → In Progress |
Changed in fuel-plugin-contrail: | |
status: | In Progress → Fix Committed |
assignee: | Oleksandr Martsyniuk (omartsyniuk) → nobody |
Hello,
Contrail uses a notation of as-number: community- value, where each value is a decimal number.
Based on that, plugin setting for route target refers to community-value only, using predefined as-number.