cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
545
Views
0
Helpful
1
Replies

How do i bulk re-deploy one service

Arne Vellinga
Level 1
Level 1

In the web interface i can only select 50 of the 500 deployed services to re-deploy.

In the cli a wild card doesn't seem to work:

admin@ncs# config
Entering configuration mode terminal
admin@ncs(config)# services <service> * re-deploy dry-run
Error: List instance does not exist
admin@ncs(config)# exit
admin@ncs# services <service> * re-deploy
----------------------------^
syntax error: element does not exist

I used NSO 6.1 for the tests

 

1 Reply 1

erdemk
Level 1
Level 1

Hi,

I do not know how to deploy all instances of a given service. But you can touch as many instances of a service, and then commit at once, this will re-deploy all selected instances.

service <service-instance-1> touch

service <service-instance-2> touch

...

commit

Hope that helps.

regards.