09-29-2020 01:40 PM
Hi team - we have been building a service that imports openconfig models. One of those models use the ipv4-address defined in openconfig-iniet-types.yang:
However, for some reason, NSO is not allowing an ipv4 address to be set. I believe this might be related that is in posix format.
I compared it with the one that is in ietf-inet-types (which works fine) and the regex is indeed different.
Do you see any specific problem with the regex above?
Thanks in advance
Solved! Go to Solution.
09-29-2020 01:46 PM - edited 09-29-2020 03:12 PM
Unfortunately openconfig has chosen to use non-standards compliant regular expressions, see the discussion here https://github.com/openconfig/public/issues/44. You will have to modify them to use them in NSO.
09-29-2020 01:46 PM - edited 09-29-2020 03:12 PM
Unfortunately openconfig has chosen to use non-standards compliant regular expressions, see the discussion here https://github.com/openconfig/public/issues/44. You will have to modify them to use them in NSO.
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