avinetworks.avicontroller_csp

⛔️ OBSOLETE: This repository is no longer maintained. Please use https://github.com/vmware/ansible-collection-alb instead because this role has been moved to Ansible collections.

With this module, you can install the Avi Vantage Controller on your system, but you must meet minimum requirements.

Caution:
This Ansible role should only be run once to deploy on the host. After deployment, Avi manages its own configuration.

Requirements

You need a Cisco CSP Device.

Role Variables

CSP Deployment Variables

These variables are marked as required only if you are using CSP Deployment.

Variable Required Default Comments
con_csp_user Yes None Username for connecting to the CSP server.
con_csp_password Yes None Password for user authentication.
con_csp_qcow_image_file No controller.qcow Location of the controller qcow image.
con_csp_mgmt_ip Yes None IP address of the controller on the management network.
con_csp_mgmt_mask Yes None Subnet mask for the controller.
con_csp_default_gw Yes None Default gateway for the controller.
con_csp_disk_size No 64 Disk space allocated to the controller in GB.
con_csp_disk_type No virtio Type of disk in CSP. It's recommended to use the default type.
con_csp_service_name No avi-controller Name of the service to create on the CSP.
con_csp_num_cpu No 4 Number of CPUs to allocate to the Controller.
con_csp_memory_gb No 16 Amount of memory in GB for the Controller.
con_csp_hsm_ip No None IP address for a dedicated HSM interface, e.g., 10.160.100.221/24.
con_csp_hsm_mask No None Netmask for the HSM interface.
con_csp_hsm_static_routes No None Static routes for HSM, e.g. 10.128.1.0/24 via 10.160.100.1.
con_csp_hsm_vnic_id No None VNIC ID for the HSM interface, e.g., 1.
con_csp_bond_ifs No None Bonds the listed interfaces. E.g., '1,2 3,4' bonds 1 with 2, and 3 with 4.
con_csp_platform No csp-2100 Model of the CSP platform.

Example Playbook

IMPORTANT:
Please change the values in this example to fit your server configuration.
For more guidance, visit https://kb.avinetworks.com/avi-controller-sizing/.
It’s recommended to adjust these settings based on your implementation needs.

CSP Deployment Example

Note:
While running, set gather_facts to false; otherwise, Ansible will fail at the first step.

---
- hosts: csp_devices
  gather_facts: false
  roles:
    - role: avinetworks.avicontroller
      con_deploy_type: csp
      con_csp_user: admin
      con_csp_password: password
      con_csp_qcow_image_file: avi-controller.qcow2
      con_csp_mgmt_ip: 10.128.2.20
      con_csp_mgmt_mask: 255.255.255.0
      con_csp_default_gw: 10.128.2.1
      con_csp_service_name: avi-controller
      con_csp_memory_gb: 32
      con_csp_num_cpu: 16
      con_csp_vnics:
        - nic: '0'
          type: access
          tagged: 'false'
          network_name: enp1s0f0
      con_csp_bond_ifs: '1,2'

License

Apache 2.0

Author Information

Avi Networks

Avi SDK Team
Email: avi-sdk@avinetworks.com

Informazioni sul progetto

Deploy's the AVI Vantage Controller on Cisco CSP

Installa
ansible-galaxy install avinetworks.avicontroller_csp
Licenza
apache-2.0
Download
8.3k
Proprietario