Automating HA key exchange

cancel
Showing results for 
Search instead for 
Did you mean: 

Automating HA key exchange

L1 Bithead

Hello all.

Is there a way to automate the exchange of HA keys when creating an HA pair?

I have gotten everything else using terraform/ansible/panorama. But I cannot figure out how to do HA key exchange programmatically.

Anyone has done it?

 

 

Thanks

2 REPLIES 2

L4 Transporter

Hello @pkhavkine, can you confirm which part(s) of the HA key procedure you are looking to automate? If you are referring to step 6 listed here, the export function of the XML API does not include the high availability keys as an option today, which rules out Ansible and Terraform too, so the step 6 tasks would need to be done via CLI automation to get things done programmatically.

Help the community: "Like" helpful comments, and click "Accept as Solution" if you found your answer 🙂

L1 Bithead

Yes, that is exactly what i'm looking for to automate, maybe someone has an expect script handy?

 

Thanks

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!