05-24-2018 11:29 PM - edited 03-01-2019 04:10 AM
I try to import given xml-data via the REST API.
In most cases it works without any problem.
For reasons I don't know the netmask is coded in a little bit unexpected form:
<IP_ADDRESS_V4 slashSize='32'>10.214.197.18</IP_ADDRESS_V4>
Importing the IP-address works without any problem.
Is there a way to also read the value of the "slashSize" directly insite of NSO?
Regards
Lothar
Solved! Go to Solution.
05-25-2018 12:01 AM
You would have to transform this homegrown XML format into NETCONF/XML format before you import it. You could use XSLT, for example, or write a python script.
05-25-2018 12:01 AM
You would have to transform this homegrown XML format into NETCONF/XML format before you import it. You could use XSLT, for example, or write a python script.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide