Skip to content

Commit

Permalink
[minor_change] Add support for subject labels for EPG, EPG Contract, …
Browse files Browse the repository at this point in the history
…ESG, Contract Subject, L2Out External EPG, L3out External EPG, and L3out External EPG Contract with the aci_subject_label module
  • Loading branch information
Mark Ciecior authored and lhercot committed Mar 1, 2024
1 parent 291c68b commit a1f32b7
Show file tree
Hide file tree
Showing 5 changed files with 1,337 additions and 0 deletions.
148 changes: 148 additions & 0 deletions plugins/module_utils/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@
provider="vzProvSubjLbl",
)

SUBJ_LABEL_RN = dict(
consumer="conssubjlbl-",
provider="provsubjlbl-",
)

MATCH_ACTION_RULE_SET_METRIC_TYPE_MAPPING = {"ospf_type_1": "ospf-type1", "ospf_type_2": "ospf-type2", "": ""}

MATCH_EIGRP_INTERFACE_POLICY_DELAY_UNIT_MAPPING = dict(picoseconds="pico", tens_of_microseconds="tens-of-micro")
Expand Down Expand Up @@ -284,3 +289,146 @@
OPERATOR_MAPPING = dict(equals="equals", contains="contains", starts_with="startsWith", ends_with="endsWith")

MATCH_STORM_CONTROL_POLICY_TYPE_MAPPING = dict(all_types="Invalid", unicast_broadcast_multicast="Valid")

POLICY_LABEL_COLORS = [
"alice_blue",
"antique_white",
"aqua",
"aquamarine",
"azure",
"beige",
"bisque",
"black",
"blanched_almond",
"blue",
"blue_violet",
"brown",
"burlywood",
"cadet_blue",
"chartreuse",
"chocolate",
"coral",
"cornflower_blue",
"cornsilk",
"crimson",
"cyan",
"dark_blue",
"dark_cyan",
"dark_goldenrod",
"dark_gray",
"dark_green",
"dark_khaki",
"dark_magenta",
"dark_olive_green",
"dark_orange",
"dark_orchid",
"dark_red",
"dark_salmon",
"dark_sea_green",
"dark_slate_blue",
"dark_slate_gray",
"dark_turquoise",
"dark_violet",
"deep_pink",
"deep_sky_blue",
"dim_gray",
"dodger_blue",
"fire_brick",
"floral_white",
"forest_green",
"fuchsia",
"gainsboro",
"ghost_white",
"gold",
"goldenrod",
"gray",
"green",
"green_yellow",
"honeydew",
"hot_pink",
"indian_red",
"indigo",
"ivory",
"khaki",
"lavender",
"lavender_blush",
"lawn_green",
"lemon_chiffon",
"light_blue",
"light_coral",
"light_cyan",
"light_goldenrod_yellow",
"light_gray",
"light_green",
"light_pink",
"light_salmon",
"light_sea_green",
"light_sky_blue",
"light_slate_gray",
"light_steel_blue",
"light_yellow",
"lime",
"lime_green",
"linen",
"magenta",
"maroon",
"medium_aquamarine",
"medium_blue",
"medium_orchid",
"medium_purple",
"medium_sea_green",
"medium_slate_blue",
"medium_spring_green",
"medium_turquoise",
"medium_violet_red",
"midnight_blue",
"mint_cream",
"misty_rose",
"moccasin",
"navajo_white",
"navy",
"old_lace",
"olive",
"olive_drab",
"orange",
"orange_red",
"orchid",
"pale_goldenrod",
"pale_green",
"pale_turquoise",
"pale_violet_red",
"papaya_whip",
"peachpuff",
"peru",
"pink",
"plum",
"powder_blue",
"purple",
"red",
"rosy_brown",
"royal_blue",
"saddle_brown",
"salmon",
"sandy_brown",
"sea_green",
"seashell",
"sienna",
"silver",
"sky_blue",
"slate_blue",
"slate_gray",
"snow",
"spring_green",
"steel_blue",
"tan",
"teal",
"thistle",
"tomato",
"turquoise",
"violet",
"wheat",
"white",
"white_smoke",
"yellow",
"yellow_green",
]
Loading

0 comments on commit a1f32b7

Please sign in to comment.