plugin-nhncloud-inven-collector
is an NHN Cloud inventory collector plugin for Cloudforet.
To develop the plugin, follow these steps:
- Fork the repository (https://github.com/cloudforet-io/plugin-nhncloud-inven-collector.git)
- Clone the repository.
git clone https://github.com/{Your repository}/plugin-nhncloud-inven-collector.git
cd plugin-nhncloud-inven-collector
- Python Virtual environment
python3 -m venv venv
source venv/bin/activate
- Install dependencies
pip3 install -e .
spaceone run plugin-server plugin -m src
pip3 install spacectl
spacectl config init -f test/local.yml
List API spec
spacectl api-resources
Collector.init
spacectl exec init inventory.Collector -f test/init.yml
Collector.verify
spacectl exec verify inventory.Collector -f test/verify.yml
Collector.collect
spacectl exec collect inventory.Collector -f test/collect.yml