cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
829
Views
3
Helpful
2
Replies

how to create a new tag options in xml in oreder to do another operation

Etts Equinox
Level 1
Level 1

I came across a problem that requires me to add a tag that operates differently not like the standard tags like "nocreate delete create merge"

what i need is to create a new tag that doesn't delete a certain element in xml when service is removed from NSO as part of the service was already created before the NSO deployment

1 Accepted Solution

Accepted Solutions

Dan.Sullivan
Cisco Employee
Cisco Employee

Hi,

Usually this case is handled by creating configuration using the pre modification callback. So you can create anything you want as part of the service pre modification callback and it will survive deletion of the actual service. I don't know of a way to insure that within a service template.

-Dan

View solution in original post

2 Replies 2

Dan.Sullivan
Cisco Employee
Cisco Employee

Hi,

Usually this case is handled by creating configuration using the pre modification callback. So you can create anything you want as part of the service pre modification callback and it will survive deletion of the actual service. I don't know of a way to insure that within a service template.

-Dan

kuiliu
Cisco Employee
Cisco Employee

No matter what tag you invite ( actually I'm not sure if NSO has such an mochanism to allow you to do so for xml template), fast map will calculate what is newly generated with the service and create the inverse configuration according to your service. therefore, when a service is removed, whatever is created within this service will be removed as well unless part of the configuration is configured to device prior to the service creation. you can refer to Daniel's answer and consider the solution of pre or post modification.