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

NSXT model LBRule struct type inconsistency #5

Open
martinrohrbach opened this issue Sep 18, 2021 · 0 comments
Open

NSXT model LBRule struct type inconsistency #5

martinrohrbach opened this issue Sep 18, 2021 · 0 comments

Comments

@martinrohrbach
Copy link

I am trying to use the framework to create an NSXT loadbalancer virtual server in the policy api with some http rewrite rules.

It is my understanding that the latter uses the LBRule type in services/nsxt/model/ModelPackageTypes.go and there are also proper types defined for the Actions (LBRuleAction) and match conditions (LBRuleCondition). However, the LBRule struct type expects the []*data.StructValue type for Actions and MatchConditions rather than []*LBRuleAction and []*LBRuleCondition respectively.

Unless I'm missing somethign obvious this looks like an inconsistency that should be fixed to me. I'm also not sure if this part is auto-generated and needs to be fixed upsrteam somewhere else maybe?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant