avinetworks.avise_csp
⛔️ OUTDATED: This repository is no longer supported. Please use https://github.com/vmware/ansible-collection-alb instead, as this role has been moved to Ansible collections.
With this module, you can install the Avi Vantage Service Engine on your system. However, certain minimum requirements need to be fulfilled. For details, please check the Avi SE Requirements page: https://kb.avinetworks.com/docs/latest/system-requirements-hardware/
Requirements
- A CSP device
- The
avisdk
Python library, which you can install usingpip install avisdk --upgrade
Role Dependencies
- avinetworks.avisdk
To install it, run:ansible-galaxy install -f avinetworks.avisdk
Role Variables
Standard Parameters
Variable | Required | Default | Comments |
---|---|---|---|
se_skip_requirements |
No | false |
Bypasses checks for disk space, RAM, and CPU requirements. |
Auto-registration parameters
Variable | Required | Default | Comments |
---|---|---|---|
se_autoregister |
No | true |
Automatically registers the service engine with the specified controller. |
se_auth_token |
No | None |
If provided, this token will be used for registration. |
se_master_ctl_ip |
No | None |
IP address of the controller. |
se_master_ctl_username |
No | None |
Username for the controller API log in. Not needed if se_autoregister is false. |
se_master_ctl_password |
No | None |
Password for the controller API log in. Not needed if se_autoregister is false. |
se_cloud_name |
No | Default-Cloud |
Cloud name for auto-registration. |
se_tenant |
No | admin |
Tenant name for auto-registration. |
CSP Deployment Variables
These are only required for CSP deployment.
Variable | Required | Default | Comments |
---|---|---|---|
se_csp_user |
Yes | None |
Username for CSP server connection. |
se_csp_password |
Yes | None |
Password for user authentication. |
se_csp_qcow_image_file |
No | se.qcow2 |
SE qcow2 file name to look for on the controller. |
se_csp_qcow_image_name |
No | None |
Local or download name for SE qcow2 file. Defaults to se-(controller_version)-(build)-(cluster_uuid).qcow2. |
se_csp_mgmt_ip |
Yes | None |
Management network IP of the SE. |
se_csp_mgmt_mask |
Yes | None |
Needed subnet mask for the SE. |
se_csp_default_gw |
Yes | None |
Default gateway for the SE. |
se_csp_authtoken |
No | Auto | Token for SE authentication with the controller. |
se_csp_tenant_uuid |
No | None |
UUID of the tenant for the SE. Uses Admin se_tenant if left as None . |
se_csp_disk_size |
No | 10 |
Disk space in GB for the SE. |
se_csp_service_name |
No | avi-se |
Name of the service to create on the CSP. |
se_csp_num_cpu |
No | 1 |
CPUs allocated for the SE. |
se_csp_memory_gb |
No | 1 |
Memory allocated in GB for the SE. |
se_csp_vnics |
No | See defaults/main.yml |
Sets the interfaces for SE service. |
se_csp_hsm_* |
Various | Various | Variables related to HSM setup for the SE. |
se_csp_asm_* |
Various | Various | Variables related to ASM setup for the SE. |
se_csp_bond_ifs |
No | None |
Bond parameters for the service. |
Example for CSP Deployment
---
- hosts: csp_devices
gather_facts: false
roles:
- role: avinetworks.avise-csp
se_csp_user: admin
se_csp_password: password
se_master_ctl_ip: 10.128.2.20
se_master_ctl_username: admin
se_master_ctl_password: password
se_csp_qcow_image_file: avi-se.qcow2
se_csp_mgmt_ip: 10.128.2.20
se_csp_mgmt_mask: 255.255.255.0
se_csp_default_gw: 10.128.2.1
se_csp_service_name: avi-se
se_csp_disk_size: 10
se_csp_num_cpu: 2
se_csp_memory_gb: 4
se_csp_vnics:
- nic: "0"
type: access
tagged: "false"
network_name: enp1s0f0
- nic: 1
type: passthrough
passthrough_mode: sriov
vlan: 200
network_name: enp7s0f0
- nic: 2
type: passthrough
passthrough_mode: sriov
vlan: 201
network_name: enp7s0f1
se_csp_bond_ifs: '1,2'
Example for CSP without Auto-registration
---
- hosts: csp_devices
gather_facts: false
roles:
- role: avinetworks.avise-csp
se_autoregister: false
se_auth_token: "auth token here"
se_cloud_name: Default-Cloud
se_tenant: admin
se_csp_user: admin
se_csp_password: password
se_master_ctl_ip: 10.128.2.20
se_csp_qcow_image_file: avi-se.qcow2 #please specify the location of the qcow image
se_csp_mgmt_ip: 10.128.2.20
se_csp_mgmt_mask: 255.255.255.0
se_csp_default_gw: 10.128.2.1
se_csp_service_name: avi-se
se_csp_disk_size: 10
se_csp_num_cpu: 2
se_csp_memory_gb: 4
se_csp_vnics:
- nic: "0"
type: access
tagged: "false"
network_name: enp1s0f0
- nic: 1
type: passthrough
passthrough_mode: sriov
vlan: 200
network_name: enp7s0f0
- nic: 2
type: passthrough
passthrough_mode: sriov
vlan: 201
network_name: enp7s0f1
se_csp_bond_ifs: '1,2'
License
Apache 2.0
Author Information
Contact: Avi Networks [avi-sdk@avinetworks.com]
Informazioni sul progetto
Ansible Role to setup Avi Service Engine on CSP Cloud
Installa
ansible-galaxy install avinetworks.avise_csp
Licenza
apache-2.0
Download
9.1k
Proprietario