From ef3e587732f4136e491afc07d135aceef9ede8e8 Mon Sep 17 00:00:00 2001 From: Martin Gollowitzer <4586616+mgollo@users.noreply.github.com> Date: Mon, 14 Jun 2021 16:18:10 +0200 Subject: [PATCH] feat: Add new tag colors (#111) --- plugins/modules/panos_object.py | 56 ++++++++++++++++++++++++++- plugins/modules/panos_object_facts.py | 25 ++++++++++++ plugins/modules/panos_tag_object.py | 50 ++++++++++++++++++++++++ 3 files changed, 130 insertions(+), 1 deletion(-) diff --git a/plugins/modules/panos_object.py b/plugins/modules/panos_object.py index 8f1eb49bc..e75fa910a 100644 --- a/plugins/modules/panos_object.py +++ b/plugins/modules/panos_object.py @@ -140,7 +140,10 @@ color: description: > - The color of the tag object. Valid values are I(red, green, blue, yellow, copper, orange, purple, gray, - light green, cyan, light gray, blue gray, lime, black, gold, and brown). + light green, cyan, light gray, blue gray, lime, black, gold, brown, olive, maroon, red-orange, + yellow-orange, forest green, turquoise blue, azure blue, cerulean blue, midnight blue, medium blue, + cobalt blue, violet blue, blue violet, medium violet, medium rose, lavender, orchid, thistle, peach, + salmon, magenta, reggd violet, mahogany, burnt sienna and chestnut). type: str choices: - red @@ -159,6 +162,31 @@ - black - gold - brown + - olive + - maroon + - red-orange + - yellow-orange + - forest green + - turquoise blue + - azure blue + - cerulean blue + - midnight blue + - medium blue + - cobalt blue + - violet blue + - blue violet + - medium violet + - medium rose + - lavender + - orchid + - thistle + - peach + - salmon + - magenta + - red violet + - mahogany + - burnt sienna + - chestnut vsys: description: - The vsys to put the object into. @@ -391,6 +419,32 @@ def main(): "black", "gold", "brown", + "olive", + "maroon", + "red-orange", + "yellow-orange", + "forest green", + "turquoise blue", + "azure blue", + "cerulean blue", + "midnight blue", + "medium blue", + "cobalt blue", + "violet blue", + "blue violet", + "medium violet", + "medium rose", + "lavender", + "orchid", + "thistle", + "peach", + "salmon", + "magenta", + "red violet", + "mahogany", + "burnt sienna", + "chestnut", + ], ), vsys=dict(default="vsys1"), diff --git a/plugins/modules/panos_object_facts.py b/plugins/modules/panos_object_facts.py index d889cb23a..034a5bb2c 100644 --- a/plugins/modules/panos_object_facts.py +++ b/plugins/modules/panos_object_facts.py @@ -153,6 +153,31 @@ "color14": "black", "color15": "gold", "color16": "brown", + "color17": "olive", + "color19": "maroon", + "color20": "red-orange", + "color21": "yellow-orange", + "color22": "forest green", + "color23": "turquoise blue", + "color24": "azure blue", + "color25": "cerulean blue", + "color26": "midnight blue", + "color27": "medium blue", + "color28": "cobalt blue", + "color29": "violet blue", + "color30": "blue violet", + "color31": "medium violet", + "color32": "medium rose", + "color33": "lavender", + "color34": "orchid", + "color35": "thistle", + "color36": "peach", + "color37": "salmon", + "color38": "magenta", + "color39": "red violet", + "color40": "mahogany", + "color41": "burnt sienna", + "color42": "chestnut", } diff --git a/plugins/modules/panos_tag_object.py b/plugins/modules/panos_tag_object.py index bc733e994..f13cc0b6d 100644 --- a/plugins/modules/panos_tag_object.py +++ b/plugins/modules/panos_tag_object.py @@ -66,6 +66,31 @@ - black - gold - brown + - olive + - maroon + - red-orange + - yellow-orange + - forest green + - turquoise blue + - azure blue + - cerulean blue + - midnight blue + - medium blue + - cobalt blue + - violet blue + - blue violet + - medium violet + - medium rose + - lavender + - orchid + - thistle + - peach + - salmon + - magenta + - red violet + - mahogany + - burnt sienna + - chestnut comments: description: - Comments for the tag. @@ -123,6 +148,31 @@ "black", "gold", "brown", + "olive", + "maroon", + "red-orange", + "yellow-orange", + "forest green", + "turquoise blue", + "azure blue", + "cerulean blue", + "midnight blue", + "medium blue", + "cobalt blue", + "violet blue", + "blue violet", + "medium violet", + "medium rose", + "lavender", + "orchid", + "thistle", + "peach", + "salmon", + "magenta", + "red violet", + "mahogany", + "burnt sienna", + "chestnut", ]