F5Networks / f5-declarative-onboarding

F5 BIG-IP Declarative Onboarding
Apache License 2.0
58 stars 22 forks source link

Add route-domain attribute for prefix-lists #357

Open ghost opened 1 year ago

ghost commented 1 year ago

Is your feature request related to a problem? Please describe.

When attempting to define a routing prefix list in DO, I can create all items equivalent to TMSH except the route-domain specification.

Describe the solution you'd like

I'd like a "routeDomain" field added to the prefix-list schema.

Describe alternatives you've considered

None; this feature is simply missing from Declarative Onboarding.

Additional context

Example TMSH command:

create net routing prefix-list prefixListTestRouteDomain7 route-domain data-rd5 entries add { 1 { action permit prefix 0.0.0.0/0 prefix-len-range 32 } } 

Example DO item:

            "myPrefixList": {
                "class": "RoutingPrefixList",
                "routeDomain": "data-rd5",
                "entries": [
                    {
                        "name": 0,
                        "action": "permit",
                        "prefix": "::/0",
                        "prefixLengthRange": "0",
                    }
                ]
            }
nwehrman commented 1 year ago

Just a note for a developer or another person who stumbles on this but you can leverage prefix lists with the rest api as well if needed. https://my.f5.com/manage/s/article/K11549313

JakeBancroft commented 1 year ago

BZ ID1327685

ghost commented 1 year ago

This should be included in DO 1.41.