F5Networks / f5-appsvcs-extension

F5 BIG-IP Application Services 3 Extension
Apache License 2.0
163 stars 52 forks source link

Add tags to configs #815

Open dennisjalbert opened 3 months ago

dennisjalbert commented 3 months ago

I would like you to add functionality to AS3 to allow us to store tags in the json declaration. These tags would be key/value pairs determined by us to document/tag the configs for future reference. For example, it would be nice to create an app with a list of tags like this:

{ "schemaVersion": "3.50.0", "application-a": { "class": "Application", "tags": { "key1": "value1", "key2": "value2", "key3": "value3", "key4": "value4", "contact_name": "Bob" }, "my-virtual-a": { "class": "Service_HTTP", "virtualAddresses": [ "10.0.1.11" ], "virtualPort": 80, "pool": "web_pool" }, "web_pool": { "class": "Pool", "monitors": [ "http" ], "members": [{ "servicePort": 80, "serverAddresses": [ "192.0.1.10", "192.0.1.11" ] }] } } }

It might be nice to have tags allowed at multiple levels of objects such as virtual servers, pools, etc, but the application level would be the most helpful. Thanks!