Enterprise-style configuration and SP-style configuration (Service Provider configuration) refer to particular types of configuration methodologies used on some Juniper devices. In this document, we focus on enterprise-style configuration for a CRB-Access role (Central Bridging Routing access role) on QFX devices.
As of today Contrail only supports SP-style configuration for CRB-access on QFX devices. We want to introduce the additional option of configuring these devices in an enterprise style more in line with what enterprise customers prefer. We want to provide this option on QFX5100, QFX5110, QFX5120 and other QFX 10K platforms.
We want to provide the option of configuration using either enterprise-style or SP-style on a per-fabric basis in the initial release of this feature.
-
Provide a new overlay_evpn_access jinja template for enterprise-style CRB access configuration.
-
Provide a fabric-level boolean checkbox in the UI to select between enterprise-style and SP-style configuration. Enterprise-style will be the default.
Note: The user will be able to modify the enterprise-style flag once configured, but only from enterprise-style to sp-style. The user will not be allowed to modify from sp-style to enterprise-style.
The following screenshots capture the user-visible changes
(None)
The fabric object will have the following schema additions:
-
New 'enterprise_style' boolean field added to fabric_onboard_template and existing_fabric_onboard_template with these values:
a) True: Uniform vlan mapping (Enterprise-style) (default)
b) False: Flexible per-port vlan mapping (SP-style)
{
"input_schema": {
"title": "fabric info",
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
...
"enterprise_style": {
"type": "boolean",
"default": true,
"description": "True if enterprise style, false if sp-style configuration"
}
}
},
See section 4 "User Flow Impact".
(None)
(None)
- New fabric.fabric_enterprise_style attribute to select between enterprise-style and sp-style configuration
-
An alternate overlay_evpn_access jinja template will be called when using enterprise-style config.
-
Sample output:
set groups contrail_overlay_evpn_access interfaces ge-0/0/0 mtu 9192
set groups contrail_overlay_evpn_access interfaces ge-0/0/0 unit 0 family ethernet-switching interface-mode trunk
set groups contrail_overlay_evpn_access interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members BD-10
{% if li.get('is_tagged', false) == false %}
set groups cfg_group interfaces ge-0/0/0 native-vlan-id 10
{% endif %}
set groups contrail_overlay_evpn_access vlans BD-10 vlan-id 10
set groups contrail_overlay_evpn_access vlans BD-10 vxlan vni vni
set groups contrail_overlay_evpn_access protocols evpn multicast-mode ingress-replication
set groups contrail_overlay_evpn_access switch-options vrf-target auto
(None)
(None)
(None)
(None)
(TBD)
(TBD)
Requires mention of UI boolean to select between configuration styles