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?
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?