Creating a workload VPN intent
A workload intent assigns fabric resources to specific sources of demand, as described in Elements of a workload intent.
Prerequisites
Before you create a new workload intent, ensure the following:
- The region that will contain the workload intent has been created; see Deployment regions.
- All fabrics that will participate in the workload intent have been created and successfully deployed; see Fabric intents.
- Any QoS profiles you intend to use with this workload intent have been created; see Creating and managing QoS profiles.
- Any ACL profiles you intend to use with this workload intent have been created; see Creating and managing ACL profiles.
- Any LAGs you intend to act as sub-interfaces for your workload intent have already been created within the system; see Creating LAGs.
Procedure overview
Creating a workload intent involves the following sub-tasks, each consisting of multiple steps:
- Create the basic workload intent
- Add subnets to the workload intent
- Add sub-interfaces to the workload intent
Next steps
You are now ready to add subnets as described in Adding subnets to the workload intent.
Creating the basic workload intent
- Click to open the main menu.
- From the menu, select Workload VPN Intents.
-
Click the + CREATE A WORKLOAD VPN INTENT button to
display a set of fabric templates.
Templates are displayed in a grid view by default. To switch to the list view, select in the template selection screen. Click to return to the grid view.
-
Click VPN Template and click
CREATE.
The Workload VPN Intents page displays in Workload Design view. The left panel of the page shows basic parameters for you to configure.
- Configure basic parameters:
- Enter a Workload VPN Intent Name. This name must be unique among all the workload intents managed by the system.
- Optional: Enter a Description.
- Choose a Fabric Intent Type (either Real or Digital Sandbox).
-
Select one or more fabric intents to participate in the workload intent:
- Click the Edit ( ) icon next to Fabric Intents. The system opens a list of fabric Intent, filtered to show only deployed fabrics.
- Check the box at the left edge of the row for each fabric you want to include as part of your workload intent.
- Click the SELECT INTENTS button. The system closes the Fabric Intents page and returns you to the Workload VPN Intent creation page.
-
Click
to save the latest change to the workload design.
The display updates to show the selected fabric intent's topology. The system advances the workload intent's Detailed Status to Created and its Version to 1.0.
You are now ready to proceed to Adding subnets to the workload intent.
Adding subnets to the workload intent
-
If you are not continuing directly from the procedure Creating the basic workload intent, first open the Workload VPN Intent view by doing the
following:
- Click to open the main menu.
- From the menu, select Workload VPN Intents.
- In the View drop-down, select Subnets.
- Do the following for each bridged subnet you want to add to the workload intent:
- Do the following for each routed subnet you want to add to the workload intent:
- In the View drop-down, select Workload Design.
- Click to save the latest change to the workload design.
You are now ready to proceed to Adding sub-interfaces to the workload intent.
Adding sub-interfaces to the workload intent
The Fabric Services System supports two methods for selecting the edge link port or LAG that constitutes a sub-interface:
- Node and Interface: explicitly select a node and then an interface on that node.
- Port Group Label: assign the Edge-Link label to a set of objects, and then select the label from among those previously created and assigned to underlay interfaces. All interfaces with the specified label are selected.
To add one or more sub-interfaces to the workload intent:
-
Do one of the following:
- Open the subnet list and click the More actions icon ( ) at the right edge of the row. Select Create Sub-Interface from the displayed list.
- Select Sub-Interfaces from the Workload VPN intent's View menu and then click +CREATE A SUB-INTERFACE in the resulting sub-Interfaces page.
-
In the Basic Properties panel, do the following:
- Do one of the following:
-
In the Associations panel, do the following:
- In the Association Type drop-down, select Port Group Label.
- In the Port Group Label field, click to open the Label Picker dialog.
- From the list of labels, locate the "Edge-Link" label you created previously to identify the edge link ports. Click the from the left end of the row beside the label.
- Click SELECT to close the Label Picker dialog.
- Repeat sub-steps 4.b through 4.d until you have selected all of the intended sub-interfaces.
- Go to step 6.
-
In the Association panel, do the following:
-
In the QoS panel, assign QoS profiles for the following:
- QoS Classifier IPv4
- QoS Rewrite Rules IPv4 (only for a routed subnet)
- QoS Classifier IPv6
- QoS Rewrite Rules IPv6 (only for a routed subnet)
- Click the CREATE button.
- In the View drop-down, select Workload Design.
- Click to save the latest change to the workload design.
-
Click
GENERATE WORKLOAD.
The system generates configuration data for the nodes involved in the workload intent and advances the workload State to Configuration Generated. The workload Version remains 1.0.
Configuring BGP
Because you create BGP within a workload intent, you must have created a workload intent before you configure BGP.
When you use BGP as the provider edge (PE) or customer edge (CE) routing protocol, you configure external peering between the provider's AS and the customer network AS.
When you create eBGP links between leaf nodes and customer autonomous systems, the customer autonomous systems may learn of routes through the fabric from different sources. The eBGP links created with the Fabric Services System are configured so that a customer AS prefers the route it learns from its local peer, because that is likely the most efficient path. This is achieved using the BGP Local Preference attribute, which the Fabric Services System sets to a value of 130 for links between peers (while other links generally have a preference value of 100). This behavior is automatic and is not configurable.
-
Choose one of the following:
- If you are configuring BGP for a workload intent that has not yet been deployed, open the workload intent in Workload Design view and go to step 2.
- If you are configuring BGP for a workload intent that is already deployed, begin by creating a new candidate version of the existing workload intent as described in Creating a new version of a workload intent.
-
From the View drop-down, select
Routing.
The Routing page displays, showing a list of nodes within the workload's fabric or fabrics that are available for BGP configuration.
- Select the row of a node on which to configure BGP.
- Click the More actions icon () at the right edge of the row and select Open BGP from the displayed action menu.
- Create a BGP group.
-
Create the initial PE-CE BGP Group.
The system saves the global parameters, and creates a new BGP Group that appears in the list on the BGP Groups panel. This BGP Group is a read-only collection of the BGP configuration parameters you entered, plus some automatic configuration settings.
This group is a prerequisite for the creation of one or more BGP neighbors.
- Go to step 9.
-
Create a PE-CE BGP group:
- In the Create BGP Groups panel, click + CREATE BGP GROUP.
- Enter a Group Name.
- Click the BFD toggle to enable or disable bidirectional forwarding for the group.
- Enter a Connect-Retry value.
- Click the Override Peer AS toggle to enable or disable this override. If enabled, enter a Peer AS.
- Click the Override Local AS toggle to enable or disable this override. If enabled, enter a Local AS.
- Use the IPv4 Unicast drop-down to enable or disable this feature.
- Use the IPv6 Unicast drop-down to enable or disable this feature.
- Enter a Minimum-Advertisement-Interval value.
The system saves the global parameters, and creates a new BGP Group that appears in the list on the BGP Groups panel. This BGP Group is a read-only collection of the BGP configuration parameters you entered.This group is a prerequisite for the creation of one or more BGP neighbors.
-
Create a BGP neighbor:
- Repeat step 9 until all required BGP neighbors have been created.
- On the Create BGP overlay, click SAVE.
-
Update the workload intent with the new BGP information: