Skip to main content

No project description provided

Project description

Tests Python Support

aac-init

A CLI tool to bootstrap and configure ACI fabric using ACI as Code.

$ aac-init -h
Usage: aac-init [OPTIONS]

  A CLI tool to bootstrap and configure ACI fabric using ACI as Code.

Options:
  --version                       Show the version and exit.
  -d, --data PATH                 Path to aac-init YAML data files.
                                  [required]
  -l, --log-level [debug|info|warning|error|critical]
                                  Specify the logging level. Default setting
                                  is 'info'.  [default: info]
  -h, --help                      Show this message and exit.

All data from the YAML files (-d/--data option) will use to bootstrap and configure ACI fabric.

The data folder MUST use following structure, 00-global_policy.yml and 01-fabric_mgmt.yml are mandatory required, see docs/data_template for details.

data/
├── 00-global_policy.yml      # mandatory, ACI fabric global policies
└── nac_data
    ├── 01-fabric_mgmt.yml    # mandatory, ACI fabric switch connection information
    └── other-yaml-files..    # optional, other ACI as Code configurations

Prerequisite

  • Working knowledge of ACI and Network as Code - ACI
  • A HTTP/TFTP server is required to store APIC/ACI switch image for wiping/booting APIC/ACI switch to particular version. See docs/image_server if you don't have experience on setting up image server.

Installation

Python 3.10+ is required to install aac-init. Don't have Python 3.10 or later? See Python 3 Getting Started.

aac-init can be installed using pip:

pip install aac-init

You will also need to install ansible and related NetworkAsCode dependencies, see Cisco Network As Code - Ansible for details. You can also find requirements.yml/requirements.txt at docs/requirements.

apt-get install ansible
ansible-galaxy install -r requirements.yml
pip install -r requirements.txt

Usage

$ aac-init -d data/
Select single or multiple choice(s) to init ACI Fabric:
[1]  Wipe and boot APIC/switch to particular version
[2]  APIC initial setup (Single Pod)
[3]  Init ACI Fabric via NaC (Network as Code)
Example: (1,2,.. or *): *

Are you sure to proceed with the following choice(s)?
[1] Wipe and boot APIC/switch to particular version
[2] APIC initial setup (Single Pod)
[3] Init ACI Fabric via NaC (Network as Code)
 (yes, no) [yes]:

Update aac-init to latest version

pip install aac-init --upgrade

Uninstallation

pip uninstall aac-init

FAQ

Contact

Rudy Lei

Contributors

Rudy Lei
Yang Bian
Xiao Wang
Song Wang
Linus Xu

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aac_init-0.4.3.tar.gz (34.9 kB view details)

Uploaded Source

Built Distribution

aac_init-0.4.3-py3-none-any.whl (43.8 kB view details)

Uploaded Python 3

File details

Details for the file aac_init-0.4.3.tar.gz.

File metadata

  • Download URL: aac_init-0.4.3.tar.gz
  • Upload date:
  • Size: 34.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for aac_init-0.4.3.tar.gz
Algorithm Hash digest
SHA256 6d47953ff4d3d2eb62c279f6947c8ca839efa732b5ce5fcd20ade7466964d0fd
MD5 f2df76377655c4ba089f7b5fb5341e92
BLAKE2b-256 a4a1454727946a7551b7b94483b67a8c6165f531db92bffadfa3408114c2d001

See more details on using hashes here.

File details

Details for the file aac_init-0.4.3-py3-none-any.whl.

File metadata

  • Download URL: aac_init-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 43.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for aac_init-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cb836f62e0d5a86ff99e9b3106549d229a722c360bc741932afe4e8d02a1ba8f
MD5 b019fef91a8d4afb2ed758c3efdd6d17
BLAKE2b-256 2ac19e3ecb484e1884d5ef8f22e64beb89aabddde83f0f856ecefbada1eebf51

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page