Skip to main content

salt-os10

Salt-os10 is a small salt state, providing an easy way to configure the configuration of a Dell OS10 switch.

It provides a simple interface to apply configuration commands from a template.

It does not provide anything else for the moment. Most of others changes can be done via usual salt states.

This is a beta version. Use it at your own risk!

Installation

Simply run the following command on your switch:

pip install salt-os10

Usage

You can use in your sls files the following state:

test_config:
    os10.managed:
      - source: salt://config

Assuming the config file look like:

ntp server ch.pool.ntp.org

The state will parse the lines in your templated file and run it in a 'configure terminal' transation.

Parameters

source

Source file. Behave as the source argument of file.managed.

hash

Hash of the file. Behave as the hash argument of file.managed.

hash_name

Type of hash. Behave as the hash_name argument of file.managed.

skip_verify

Skip hash verification. Behave as the skip_verify argument of file.managed.

engine

Template format. Default to jinja. Behave as the template argument of file.managed.

context

Data pased to the template. Behave as the as the context argument of file.managed.

defaults

Default values for the context. Behave as the defaults argument of file.managed.

commit

Commit changes when the state is applied. Default to True, setting it to False will revert changes (but will try to run them).

Metadata

Release files for salt-os10 0.0.2

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

Source distribution (sdist)

Source distribution for salt-os10 0.0.2
File Size Uploaded Provenance Actions
salt-os10-0.0.2.tar.gz 3.3 kB Without provenance Details for salt-os10-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for salt-os10 0.0.2
File Interpreter ABI Platform Actions
salt_os10-0.0.2-py3-none-any.whl Python 3 none any Details for salt_os10-0.0.2-py3-none-any.whl

Total release size: 12.6 kB

Release files / salt-os10-0.0.2.tar.gz

Download URL salt-os10-0.0.2.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8abac55ef014d4fe37e5f302d37b70524bc69ad81ce7a50709c931c57e2118db
BLAKE2b-256 checksum
How to use checksums
d852dc748fe25258fd4fca703e6fe7e50d564c4d74de93e40a15f8b4bfc8ff4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.0

Release files / salt_os10-0.0.2-py3-none-any.whl

Download URL salt_os10-0.0.2-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
30d8801475879ace6ef603203c7177ada4da54a8eb739feffbda3baee5878cc0
BLAKE2b-256 checksum
How to use checksums
876d6c6a0f44d3f0b9bb9409dcb0744527831214d0398d88f24452fefcb4abe7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.0

Security for salt-os10 0.0.2

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

0.0.2 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