Currently, when the SDK fork connects to AVI, it explicitly passes the AVI Admin tenant to the connection string. We need to add an override that replaces Admin with whatever tenant the client desires.
CONCERNS
- Tenants are meant to provide security, and since lbAPI relies on the product_code field, it makes sense to match tenants to product code. This works for Ticketmaster's specific use case, but not for all. Suggestions on how to approach this would be appreciated.
WANT
- Field added to the virtualserver.Data for tenant
- Want to be able to override the default 'admin' tenant target with the user defined value
- Tie product_code into it to control access to the tenant
- Tests to validate that the tenant exists, etc.
Currently, when the SDK fork connects to AVI, it explicitly passes the AVI Admin tenant to the connection string. We need to add an override that replaces Admin with whatever tenant the client desires.
CONCERNS
WANT