Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

No support for adding application rule to a VIP #626

Open
Nick-Andreev opened this issue Jun 21, 2020 · 1 comment · May be fixed by #642
Open

No support for adding application rule to a VIP #626

Nick-Andreev opened this issue Jun 21, 2020 · 1 comment · May be fixed by #642

Comments

@Nick-Andreev
Copy link

This is a feature request.

PowerNSX supports creating and retrieving application rules using the following cmdlets:

  • New-NsxLoadBalancerApplicationRule
  • Get-NsxLoadBalancerApplicationRule

What's missing is ability to add created application rule to a VIP. Application rule doesn't do anything on its own, it has to be added to a VIP to take effect.

Current workaround is to use applicationRuleId parameter of the following REST API calls:

  • POST /api/4.0/edges/{edgeId}/loadbalancer/config/virtualservers (when creating a new VIP)
  • PUT /api/4.0/edges/{edgeId}/loadbalancer/config/virtualservers/{virtualserverID} (when changing an existing VIP)
@alagoutte
Copy link
Contributor

Hi Nick,

yes, i confirm, for add when create new VIP, it will be easy to add
PUT/Set need more work because there is no yet Set-NsxLoadBalancerVip

need also to enhance example and testsuite for ApplicationRule

i will try if my NSX-V Lab work ;-)

alagoutte added a commit to alagoutte/powernsx that referenced this issue Jun 22, 2020
missing when Set LB VIP and also check field

Part of vmware-archive#626
alagoutte added a commit to alagoutte/powernsx that referenced this issue Mar 7, 2021
missing when Set LB VIP and also check field

Part of vmware-archive#626
alagoutte added a commit to alagoutte/powernsx that referenced this issue Mar 7, 2021
missing when Set LB VIP and also check field

Part of vmware-archive#626
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants