Skip to main content

pyafc

HPE Aruba Networking PyAFC Modules to work with HPE Aruba Networking Fabric Composer

See the Release Notes for more information.

It is also important to note that the latest code commits on the main branch in Git are usually ahead of the official releases and tags, so please be aware of this when cloning the repo versus doing a pip install pyafc

Structure

Detailed information about the structure and design can be found in the Design document.

  • REST API call functions are found in the modules in /pyafc/*/.
  • REST API call functions are combined into other functions that emulate low-level processes. These low-level process functions are also placed in files in /pyafc/*/.
  • Functions from the /pyafc/* files (API functions and low-level functions) are combined to emulate larger network configuration processes (workflows). These workflow scripts stored in the /workflows folder.

How to contribute

Please see the accompanying CONTRIBUTING.md file for guidelines on how to contribute to this repository.

How to run this code

In order to run the workflow scripts, please complete the steps below:

  1. install virtual env (refer https://docs.python.org/3/library/venv.html). Make sure python version 3 is installed in system.

    $ python3 -m venv py_env
    
  2. Activate the virtual env

    $ source py_env/bin/activate
    in Windows:
    $ venv/Scripts/activate.bat
    
  3. Install the pyafc package

    (py_env)$ pip install pyafc
    
  4. Now you can run different workflows from pyafc/workflows (e.g. create_fabric.py)

  5. Keep in mind that the workflows perform high-level configuration processes; they are highly dependent on the status of HPEANFC prior to running the workflows.

Troubleshooting Issues

  1. If you encounter module import errors, make sure that the package has been installed correctly.

Additionally, please read the RELEASE-NOTES.md file for the current release information and known issues.

Metadata

Release files for pyafc 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyafc 1.0.1
File Size Uploaded Provenance Actions
pyafc-1.0.1.tar.gz 69.9 kB Without provenance Details for pyafc-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyafc 1.0.1
File Interpreter ABI Platform Actions
pyafc-1.0.1-py3-none-any.whl Python 3 none any Details for pyafc-1.0.1-py3-none-any.whl

Total release size: 213.2 kB

Release files / pyafc-1.0.1.tar.gz

Download URL pyafc-1.0.1.tar.gz
Size 69.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0632ad1c1fe2c3a4cb6ae48c14094dfdd72920ee4e359dcc062ac720b85be506
BLAKE2b-256 checksum
How to use checksums
c137d7bdcc40615e2dbfa0a19254c1003c23c42a0e48f308525fda50bbdd2dad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / pyafc-1.0.1-py3-none-any.whl

Download URL pyafc-1.0.1-py3-none-any.whl
Size 143.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5aba6a803ac5a7327fad35bcf6cebbd7a63b00ef7fb0bb358b05e6ce067318a4
BLAKE2b-256 checksum
How to use checksums
fe51862a21ce5a58b5bfd2ccaea471da3212dd700b1e5cf25b4f650e1541dade
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Security for pyafc 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page