12-02-2019 03:25 AM - edited 12-02-2019 03:30 AM
Hi All,
I am new in NSO, I have a generic question about NSO. I am using "nso-5.1.0.1". I create a service (writes some java code) that writes some configurations on two Cisco XR devices as per my requirement.
When I delete that service NSO removes service-specific configurations from both devices. But I don't write any single line of code to remove service-specific configurations from devices. I am curious how NSO determines the delta and removes service-specific configurations from both devices.
Can anyone give me some reference for that?
Solved! Go to Solution.
12-02-2019 04:17 AM
When I delete that service NSO removes service-specific configurations from both devices. But I don't write any single line of code to remove service-specific configurations from devices. I am curious how NSO determines the delta and removes service-specific configurations from both devices.
This is really the strength of NSO, and it's FASTMAP algorithm. It lets you specify only the 'create' logic for your service, and takes care of the 'modify' and 'delete' logic itself. See the NSO Development Guide for a description of FASTMAP, here:
"NSO Development Guide -> Developing NSO services -> FASTMAP description"
I would encourage you to read the whole chapter "Developing NSO services".
/Ram
12-03-2019 06:01 AM
Search for "Fastmap" in the developer guide. This is IMHO the best feature of NSO - this is the "secret sauce". This dramatically reduces the development time and maintenance cost of a service application/function pack relative to other orchestrators.
12-02-2019 04:17 AM
When I delete that service NSO removes service-specific configurations from both devices. But I don't write any single line of code to remove service-specific configurations from devices. I am curious how NSO determines the delta and removes service-specific configurations from both devices.
This is really the strength of NSO, and it's FASTMAP algorithm. It lets you specify only the 'create' logic for your service, and takes care of the 'modify' and 'delete' logic itself. See the NSO Development Guide for a description of FASTMAP, here:
"NSO Development Guide -> Developing NSO services -> FASTMAP description"
I would encourage you to read the whole chapter "Developing NSO services".
/Ram
12-03-2019 06:01 AM
Search for "Fastmap" in the developer guide. This is IMHO the best feature of NSO - this is the "secret sauce". This dramatically reduces the development time and maintenance cost of a service application/function pack relative to other orchestrators.
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