Skip to main content

Idem_vmware_alb

Made with idem, a Python implementation of Plugin Oriented Programming Documentation is published with Sphinx on docs.idemproject.io Made with pop, a Python implementation of Plugin Oriented Programming Made with Python

About

avilb Cloud Provider for Idem

What is Idem?

This project is built with idem, an idempotent, imperatively executed, declarative programming language written in Python. This project extends idem!

For more information:

Getting Started

Prerequisites

  • Python 3.8+

  • git (if installing from source, or contributing to the project)

Installation

You can install idem_vmware_alb either from PyPI or from source.

Install from PyPI

pip install "idem_vmware_alb"

Install from source

Clone the idem_vmware_alb repository and install with pip.

# clone repo
git clone git@<your-project-path>/idem_vmware_alb.git
cd idem_vmware_alb

# Setup venv
python3 -m venv .venv
source .venv/bin/activate
pip install -e idem_vmware_alb

Setup

After installation avilb idem provider execution and state modules will be accessible to the pop hub. In order to use them we need to set up our credentials.

Create a new file called credentials.yaml and populate it with profiles. The default profile will be used automatically by idem unless you specify one with –acct-profile=profile_name on the cli.

credentials.yaml

avilb:
  default:
    username: my_user
    password: my_good_password
    endpoint_url: https://console.avilb.com/api

Now encrypt the credentials file and add the encryption key and encrypted file path to the ENVIRONMENT.

idem encrypt credentials.yaml

output:

-A9ZkiCSOjWYG_lbGmmkVh4jKLFDyOFH4e4S1HNtNwI=

Add these to your environment:

export ACCT_KEY="-A9ZkiCSOjWYG_lbGmmkVh4jKLFDyOFH4e4S1HNtNwI="
export ACCT_FILE=$PWD/credentials.yaml.fernet

You are ready to use idem_vmware_alb!

State Example

Example of using avilb state in SLS:

my_state.sls:

ensure_sample_exists:
  avilb.sample.present:
    - name: a_sample_name
    - description: Managed by Idem

Create sample state:

idem state my_state.sls

Delete sample state:

idem state my_state.sls --invert

Release files for idem-vmware-alb 0.9.3

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

Source distribution (sdist)

Source distribution for idem-vmware-alb 0.9.3
File Size Uploaded
idem_vmware_alb-0.9.3.tar.gz 381.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for idem-vmware-alb 0.9.3
File Interpreter ABI Platform
idem_vmware_alb-0.9.3-py3-none-any.whl Python 3 none any Details

Total release size:783.5 kB

Release files / idem_vmware_alb-0.9.3.tar.gz

Download URL idem_vmware_alb-0.9.3.tar.gz
Size 381.6 kB
Tags Source
SHA-256 checksum
How to use checksums
773b330b5bbba3325c920da9a55777ab9bfbb6019e7595e07e562978353ced07
BLAKE2b-256 checksum
How to use checksums
2cc98093e34ffa4b4cdf7f1d583ae6d01450164f9c9f970e610238a29a33f586
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.9.6 readme-renderer/41.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.5 tqdm/4.66.1 importlib-metadata/6.8.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.9.18

Release files / idem_vmware_alb-0.9.3-py3-none-any.whl

Download URL idem_vmware_alb-0.9.3-py3-none-any.whl
Size 401.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
594734e430df6cb06c444f9d4a5616de823ed71f1d27a1c82a32ddd5f9113063
BLAKE2b-256 checksum
How to use checksums
bbc208d5bc1665b021d35d61b60325e5c1a31b892e5e316d33153962c521e347
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.9.6 readme-renderer/41.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.5 tqdm/4.66.1 importlib-metadata/6.8.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.9.18

Release history Release notifications | RSS feed

This release

0.9.3 This release

2 release files

0.9.1

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.1.0

2 release files

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