Offset is the offscale tool for setting values (e.g.: nodes). Currently just used for manually settings nodes, which can then be used by offregister
.
pip install -r requirements.txt
pip install .
usage: python -m offset [-h] (-p PASSWORD | -i IDENTITY_FILE) --dns-name HOSTNAME
-u USERNAME [-n NAME] [--version] [--etcd ETCD]
[--purpose PURPOSE]
Offset CLI. Set nodes manually.
optional arguments:
-h, --help show this help message and exit
-p PASSWORD, --password PASSWORD
Password for login
-i IDENTITY_FILE, --identity-file IDENTITY_FILE
pem file for login
--dns-name HOSTNAME, --ip HOSTNAME
Location of node
-u USERNAME, --user USERNAME
Login username
--os OS Operating System to store in `extra.os` property
of LibCloud's `Node`. If unspecified OS is
inferred from `--user`.
-n NAME, --name NAME Name for node. Used for bookkeeping, and other
packages may set the hostname to this.
--version show program's version number and exit
--etcd ETCD Server location [127.0.0.1:4001]
--purpose PURPOSE, --cluster PURPOSE
Purpose of the node. Groups all together
(hierarchically). Defaults to: 'unclustered'
Licensed under any of:
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
- CC0 license (LICENSE-CC0 or https://creativecommons.org/publicdomain/zero/1.0/legalcode)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.