Question

/vms/list post - filtering a VM which is case sensitive

  • 8 September 2022
  • 0 replies
  • 54 views

Badge

I am passing this payload to to filter a VM. It works if the VM name is an exact match (case sensitive).  How Do I make the following filter case insensitive ?

payload = {"kind":"vm", "filter": "vm_name=={0}".format(vmName)}

 

I tried different combination’s, but none worked.

 

Thanks in Advance

 

Yezdi


0 replies

Be the first to reply!

Reply