Skip to content

Avi LetsEncrypt Script - where to put fqdn? #257

@senk

Description

@senk

Where do i need to put the FQDN in the newest version of AVI Virtual Service so that the script finds that VS and uses it for the HTTPPolicy?
Currently my workaround is:

index 85fad46..ea9b827 100644
--- a/1
+++ b/2
@@ -245,7 +245,7 @@ def get_crt(user, password, tenant, api_version, csr, CA=DEFAULT_CA, disable_che
         if overwrite_vs == None:

             # Get VSVIPs/VSs, based on FQDN
-            rsp = _do_request_avi("vsvip/?search=(fqdn,{})".format(domain), "GET").json()
+            rsp = _do_request_avi("vsvip/?search={}".format(domain), "GET").json()
             if debug:
                 print ("Found {} matching VSVIP FQDNs".format(rsp["count"]))
             if rsp["count"] == 0:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions