Skip to main content

ContributorsForksStargazersIssuesMIT LicenseDocumentationContact Us

An Omnivector initiative

omnivector-logo

License Manager Simulator

A License management simulator project for testing license integration in user applications.

About The Project

The License Manager Simulatoris an application that simulates several license servers output for use in the development of applications which interface to the license servers.

It contains fake binaries that simulate the license servers output.

License servers supported:

  • FlexLM
  • RLM
  • LS-Dyna
  • LM-X
  • OLicense

Installation

$ python -m venv .venv
$ source .venv/bin/activate
$ pip install license-manager-simulator

The scripts will be available inside the bin folder in the venv.

Prerequisites

To use the License Manager Simulator you must have Slurm and License Manager Agent charms deployed with Juju. Instructions for this can be found at the License Manager documentation.

For each license server supported, there's a script that requests license information to the simulator API and a template where the data will be rendered.

You also need to add licenses to the Simulator API and to the Slurm cluster, and then copy an application file to the slurmd node to run a job.

Usage

There is an application.sh script that is intended to run in Slurm as a job that uses the licenses from the Simulator API. It is just a dummy application for testing purposes that creates a license_in_use in the API, sleeps, then deletes the license_in_use. There is also a batch.sh script to run the application via sbatch.

These files need to be updated with the Simulator API IP address provided in the step above before being copied to the /tmp folder in the slurmd node.

To submit the job, run:

$ juju ssh slurmd/leader sbatch /tmp/batch.sh

License

Distributed under the MIT License. See the LICENSE file for details.

Contact

Email us: Omnivector Solutions

Download files

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

Source Distribution

license_manager_simulator-5.0.0.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

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

license_manager_simulator-5.0.0-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file license_manager_simulator-5.0.0.tar.gz.

File metadata

  • Download URL: license_manager_simulator-5.0.0.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for license_manager_simulator-5.0.0.tar.gz
Algorithm Hash digest
SHA256 ceafe399ebfd4bebbb681b25fa50a4c235fd623aab6f125e5dce3986fcc7906d
MD5 135a8593f014d2aedb8ddb5c6ecd7eee
BLAKE2b-256 00cbb2b1c7303b1ebe5b53566a60b6ee2123650395e0fd629ad7aaab780d84f4

See more details on using hashes here.

File details

Details for the file license_manager_simulator-5.0.0-py3-none-any.whl.

File metadata

  • Download URL: license_manager_simulator-5.0.0-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for license_manager_simulator-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ba0f2eb979aa8f71782ca28ec6f5bb6305112ccc22cd707d95281d82335c78ff
MD5 cd34f0a539a1d6021ef54c3d60a00d81
BLAKE2b-256 1466a0be6688e68bf2a9f17e375912ca4d35b08f49590b9bc259f216109552b6

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

5.0.0 This release

2 files

4.6.3

2 files

4.6.2

2 files

4.6.1

2 files

4.6.0

2 files

4.5.0

2 files

4.4.2

2 files

4.4.1

2 files

4.4.0

2 files

4.3.0

2 files

4.2.3

2 files

4.2.2

2 files

4.2.1

2 files

4.2.0

2 files

4.1.0

2 files

4.0.0

2 files

3.4.0

2 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