Hi Hari,
In this case you can try "xyz*pq*" . It means in each space you can put *
.
On Tue, Aug 7, 2018 at 9:45 PM, Hari Prasanth Loganathan <
hariprasanth.l(a)msystechnologies.com> wrote:
Thanks for your response, Gobinda,
Yes it is only for network.
The following will end up with multiple results, say I have a network name
with 'xyz pq r' and another network name with 'xyz rs t' then the
search:
xyz* will end up fetching both, Is there a way to search a particular
result.
Network you can search by mentioning first some characters then * , for
ex: If network name is "xyz pq r" then you can type "xyz*"
But If you have vm name with space then you can search same like network.
On Tue, Aug 7, 2018 at 9:36 PM, Gobinda Das <godas(a)redhat.com> wrote:
> Hi,
> How did you create vm with space in name? ovirt-engine UI does not allow
> vm name with space. It allows only "alphanumeric, '.', '-' and
'_'
> characters.
> Network you can search by mentioning first some characters then * , for
> ex: If network name is "xyz pq r" then you can type "xyz*"
> But If you have vm name with space then you can search same like network.
>
> On Tue, Aug 7, 2018 at 4:22 PM, Hari Prasanth Loganathan <
> hariprasanth.l(a)msystechnologies.com> wrote:
>
>> Hi Team,
>>
>> I have VM's and Network's in oVirt with space in the name. How can I
>> perform an exact search for the following name
>>
>> *Name1*: Aug X X
>> *Name2*: Aug X X X
>>
>> 1) I try to search with space in the name, It is not working.
>>
>>
https://172.30.60.42/ovirt-engine/api/networks?search=name%3DAug X X
>>
>> It is not returning any result.
>>
>> 2) I try to search with encoded value for space in the name, It is not
>> working. (encoded value for space is %20)
>>
>>
https://172.30.60.42/ovirt-engine/api/networks?search=name%3DAug%20X%20X
>>
>>
>> 3) I try to search like below with '*' for space and end up getting both
>> the values in response,
>>
>>
https://172.30.60.42/ovirt-engine/api/networks?search=name%3DAug*X
>>
>> so what is the correct way to search the name with space ?
>>
>> Thanks,
>> Hari
>>
>>
>>
>> DISCLAIMER - *MSysTechnologies LLC*
>>
>> This email message, contents and its attachments may contain
>> confidential, proprietary or legally privileged information and is intended
>> solely for the use of the individual or entity to whom it is actually
>> intended. If you have erroneously received this message, please permanently
>> delete it immediately and notify the sender. If you are not the intended
>> recipient of the email message,you are notified strictly not to
>> disseminate,distribute or copy this e-mail.E-mail transmission cannot be
>> guaranteed to be secure or error-free as Information could be intercepted,
>> corrupted, lost, destroyed, incomplete or contain viruses and
>> MSysTechnologies LLC accepts no liability for the contents and integrity of
>> this mail or for any damage caused by the limitations of the e-mail
>> transmission.
>>
>>
>> _______________________________________________
>> Users mailing list -- users(a)ovirt.org
>> To unsubscribe send an email to users-leave(a)ovirt.org
>> Privacy Statement:
https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct:
https://www.ovirt.org/communit
>> y/about/community-guidelines/
>> List Archives:
https://lists.ovirt.org/archiv
>> es/list/users(a)ovirt.org/message/4472PCHJFZHPOTB2TVWFNAPYXHXVE3GI/
>>
>>
>
>
> --
> Thanks,
> Gobinda
>
DISCLAIMER - *MSysTechnologies LLC*
This email message, contents and its attachments may contain confidential,
proprietary or legally privileged information and is intended solely for
the use of the individual or entity to whom it is actually intended. If you
have erroneously received this message, please permanently delete it
immediately and notify the sender. If you are not the intended recipient of
the email message,you are notified strictly not to disseminate,distribute
or copy this e-mail.E-mail transmission cannot be guaranteed to be secure
or error-free as Information could be intercepted, corrupted, lost,
destroyed, incomplete or contain viruses and MSysTechnologies LLC accepts
no liability for the contents and integrity of this mail or for any damage
caused by the limitations of the e-mail transmission.