Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add new tag colors (#111) #234

Merged
merged 2 commits into from
Jul 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 54 additions & 1 deletion plugins/modules/panos_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down Expand Up @@ -391,6 +419,31 @@ 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"),
Expand Down
25 changes: 25 additions & 0 deletions plugins/modules/panos_object_facts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}


Expand Down
50 changes: 50 additions & 0 deletions plugins/modules/panos_tag_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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",
]


Expand Down