cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1308
Views
0
Helpful
2
Replies

config-upgrade with pnp_server.py

gabrielegerbino
Level 1
Level 1

Hi all,

I'm trying to use the pnp_server from the Download section to perform a configuration upgrade on a Cisco csr1kv device.

My policy file looks like this:

[PID:CSR1000V,VID:V00,SN:9KXI0D7TVFI]

001:config-upgrade {

        $src_location = "http://10.0.0.5:9455/backup_1.cfg"

        $src_uri = ""

        $apply_to = "running"

        $abortOnSyntaxFault = "No"

        $reload_reason = ""

        $reload_delayIn = ""

        $reload_user = ""

        $reload_saveConfig = ""

        $detail_type = "all"

        $noReload = "Yes"

    }

I've configured the pnp profile on the device and it successfully connect to the server.

The problem is that I'm seeing inconsistent behaviour, meaning that sometime it apply the configuration while other times it makes the device to crash and reboot (using the exact same policy and configuration files).

Am I doing anything wrong here? Is it a known bug? Do you have any suggestion to mitigate this issue?

2 Replies 2

nan.zhang
Level 1
Level 1

Hi Gabriele,

Could you please share the file of pnp_server.py with me? Much appreciated!

Nan

nan.zhang
Level 1
Level 1

Hi Gabriele,

I am working with Cisco PnP as well. And I need to generate a pnp server side python script, do you mind to share your script with me, such that I can work with the unstable issue.

Any questions are very welcome. Please drop me a line on: nan.zhang@ursys.com.au     I will get back to you at the first time. Much appreciated!

Warm regards,

Nan

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: