QEMU Cloud Init configuration for Cisco SDWAN

Moderator: mike

Post Reply
gmedinat
Posts: 2
Joined: Sun May 10, 2020 2:43 am

QEMU Cloud Init configuration for Cisco SDWAN

Post by gmedinat » Sun May 10, 2020 3:53 am

Hello

Thank you for making EVE NG better every day

I would like to know if eve-ng supports cloud-init data for a newly created node. For example. I am using Cisco SDWAN vEdge and i would like to implement ZTP. I need to put the following KVM cloud init data:

#cloud-config
vinitparam:
- otp : jkdjkdkjdsjkdjksjkkjds
- vbond : 1.2.3.4
- uuid : 5abdhdhd-cjhdheh-ejfjjf-ehejhe
- org : LAB_TEST

I have been trying using QEMU custom options when creating the node, but it does not work. This could be great feature in case we want to use ZTP inside eve-ng to deploy sdwan and test.

Is there a way we can support this?

Please refer to this link:https://www.cisco.com/c/en/us/td/docs/r ... _10212.xml The part where it says install self signed certificates in 17.1 and later

Generate a Bootstrap Configuration File

To generate a bootstrap configuration file for a vEdge Cloud router:

In vManage NMS, select the Configuration ► Devices screen.

To generate a bootstrap configuration file for one or multiple vEdge Cloud routers:
In the vEdge List tab, select Export Bootstrap Configuration.
In the Generate Bootstrap Configuration field, select the file format:
For a vEdge Cloud router on a KVM hypervisor or on an AWS server, select Cloud-Init to generate a token, vBond orchestrator IP address, vEdge Cloud router UUID, and organization name.


Thanks in advance

Uldis (UD)
Posts: 5080
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: QEMU Cloud Init configuration for Cisco SDWAN

Post by Uldis (UD) » Sun May 10, 2020 1:55 pm

EVE does support it...mistake is in your vEdges which must have your lab root certificate..
not cisco..
and xtp must resolve cisco.com to your ztp server#It is not easy task to do

gmedinat
Posts: 2
Joined: Sun May 10, 2020 2:43 am

Re: QEMU Cloud Init configuration for Cisco SDWAN

Post by gmedinat » Sun May 10, 2020 8:38 pm

Thanks Uldis,

Yes i know how to do all that with ZTP what i am looking for is where in the eve-ng node for a vEdge or QEMU image can i put the cloud-init data so the vedge can boot up with the specified SN and orgname etc in the first boot.

I dont see an option where to put the bootstrap configuration in the vEdge, not via CLI because thats not my intention (i can do request vedge-cloud activate for that). Instead to put it when creating the node.

Best

muster13
Posts: 1
Joined: Thu Jul 13, 2017 6:19 am

Re: QEMU Cloud Init configuration for Cisco SDWAN

Post by muster13 » Mon Jul 20, 2020 6:16 am

Hi
Did u manage to work out ?

i tried manually, but cEDGE does not form control connections

Also on vEDGE interface ge-0/0 on 20.1.1 does not come up (anybody encountered this)?

Post Reply