shift31 / hostbase-importer-softlayer
Imports into or updates Hostbase with hardware, virtual guests, and subnets (with all IPs) as retrieved via the SoftLayer API.
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/shift31/hostbase-importer-softlayer
Requires
- php: >=5.3
- shift31/hostbase-api-client: 0.2.*
- shift31/softlayer-api-php-client: dev-master
This package is not auto-updated.
Last update: 2020-01-20 03:51:52 UTC
README
Imports SoftLayer hardware, virtual guests, and subnets (with all IPs) into Hostbase. If any of the hosts already exist, they will be updated.
Installation
- Download/clone this whole repository or install with
composer create-project shift31/hostbase-importer-softlayer
- Run
composer install
from the project root
Configuration
In the project root, create a config.ini:
slApiUsername = your_softlayer_api_username
slApiKey = your_softlayer_api_key
hostbaseUrl = "http://your.hostbase.server"
Run
chmod +x bin/hostbase-importer-sl
bin/hostbase-importer-sl