Color List
A color list contains a list of one or more SD-WAN tloc colors.
Diagram
Section titled “Diagram”Classes
Section titled “Classes”policy_objects (sdwan)
Section titled “policy_objects (sdwan)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| color_lists | List | [color_lists] | No |
color_lists (sdwan.policy_objects)
Section titled “color_lists (sdwan.policy_objects)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[A-Za-z0-9-_]{1,128}$ | Yes | |
| colors | List | Choice[default, mpls, metro-ethernet, biz-internet, public-internet, lte, 3g, red, green, blue, gold, silver, bronze, custom1, custom2, custom3, private1, private2, private3, private4, private5, private6] | Yes |
Examples
Section titled “Examples”Example-1: Configuring a Color List for policies This example demonstrates how to configure color lists. The example configuration includes the following:
- Color List CL-Public: Contains the colors public-internet, red, and green.
- Color List CL-INTERNET: Contains the color biz-internet.
- Color List CL-MPLS: Contains the color mpls.
Below is the YAML configuration for defining these color lists:
sdwan: policy_objects: color_lists: - name: CL-Public colors: - public-internet - red - green - name: CL-INTERNET colors: - biz-internet - name: CL-MPLS colors: - mpls