Skip to main content

Pip module for node to join salt-master

Project description

Table of Contents


Overview

Module vmanage-agent allows node to make request to vmanage and add this device to USDN system.

Enhanced Security Features

The agent now implements three separate cryptographic key types for maximum security:

  1. Controller WireGuard Keys - Management plane (node ↔ controller)
  2. Tunnel WireGuard Keys - Data plane (node ↔ node via VPP)
  3. Blockchain RSA Keys - Configuration encryption/decryption

Security Guarantee: Private keys NEVER leave the device. Only public keys are transmitted to backend.

See SECURITY_KEY_MANAGEMENT.md for complete details.

Requirements

Make sure python and the package manager pip are installed. Salt-minion >= 3005.1 is also required.

Installation

Install package with the command below:

sudo pip3 install vmanage-agent

Pre-requisites

Salt-minion is running

Checking if salt-minion is running

sudo systemctl status salt-minion

If the output return error, try to stop salt-minion and run in debug mode (salt-minion -l debug)

Usage

Run manually

sudo /usr/local/bin/vmanage-agent -m [master-address] -mf [master-fingerprint] -e [environment]

Arguments

  • -m, --master (required): Salt master address
  • -mf, --master-finger (required): Salt master fingerprint to verify master
  • -e, --env (optional): Environment - either production or staging (default: production)

Examples

Production (default):

sudo /usr/local/bin/vmanage-agent -m salt.usdatanetworks.com -mf a1:b2:c3:d4:e5:f6

Staging:

sudo /usr/local/bin/vmanage-agent -m salt-staging.usdatanetworks.com -mf a1:b2:c3:d4:e5:f6 -e staging

Environment-Specific API Endpoints

  • Production: https://api.usdatanetworks.com
  • Staging: https://staging-api.usdatanetworks.com

File Location

  • Log: /var/log/minion.log
  • Config: /opt/minion/config.ini

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

US Data Networks

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

vmanage_agent-0.2.1.tar.gz (89.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vmanage_agent-0.2.1-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file vmanage_agent-0.2.1.tar.gz.

File metadata

  • Download URL: vmanage_agent-0.2.1.tar.gz
  • Upload date:
  • Size: 89.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for vmanage_agent-0.2.1.tar.gz
Algorithm Hash digest
SHA256 729789d01878a85f9333700f5fb4c4648f7ec05cd2ed656e3d4c6e1971af43ed
MD5 5c57e863eb0602602addd5b105b69e9c
BLAKE2b-256 2b8cd51ed29c4d68318849e3108f5a9f874d388c101f4ab27a41c52a455bea0a

See more details on using hashes here.

Provenance

The following attestation bundles were made for vmanage_agent-0.2.1.tar.gz:

Publisher: build-sync-s3.yml on Unified-Sentinel-Data-Networks/vmanage-agent

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vmanage_agent-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: vmanage_agent-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for vmanage_agent-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f70ed743bcbc99facbfae0d238a235eeb4ba3bd800006937ee61642a9881cd99
MD5 5d46a8a7447189cd08306b3f6c15773c
BLAKE2b-256 6a45ea29a2e2f0774d2692050eaeabefc38cf5cc4d28ad7977850e7a2346e259

See more details on using hashes here.

Provenance

The following attestation bundles were made for vmanage_agent-0.2.1-py3-none-any.whl:

Publisher: build-sync-s3.yml on Unified-Sentinel-Data-Networks/vmanage-agent

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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