https://github.com/cble-platform/provider-openstack
CBLE Provider for Openstack
https://github.com/cble-platform/provider-openstack
cble-provider openstack
Last synced: 5 months ago
JSON representation
CBLE Provider for Openstack
- Host: GitHub
- URL: https://github.com/cble-platform/provider-openstack
- Owner: cble-platform
- License: gpl-3.0
- Created: 2023-11-08T16:36:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-17T15:10:04.000Z (about 2 years ago)
- Last Synced: 2025-08-09T21:41:57.930Z (10 months ago)
- Topics: cble-provider, openstack
- Language: Go
- Homepage:
- Size: 113 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Openstack CBLE Provider
## Generating Provider Config
First, download the `-rc.sh` file from your Openstack deployment. Then pass it into the `generate_config.sh` script:
```shell
$ ./generate_config.sh path/to/some-rc.sh
Generating config from path/to/some-rc.sh...
Please enter your OpenStack Password for project as user :
Generated Openstack provider config config.yaml!
```
## Example Blueprint
```yaml
# vars
main_subnet: 10.10.0.0/24
router_ip: 10.10.0.254
host_ip: 10.10.0.1
```
```yaml
# blueprint
version: "1.0"
# Host 1
host1:
resource: openstack.v1.host
config:
hostname: host1
image: ubuntu22.04
flavor: l2-micro
disk_size: 10240
networks:
network1:
dhcp: false
ip: "{{ .host_ip }}"
# Host 2
host2:
resource: openstack.v1.host
config:
hostname: host2
image: ubuntu22.04
flavor: l2-micro
disk_size: 10240
networks:
network1:
dhcp: true
# Network 1
network1:
resource: openstack.v1.network
config:
subnet: "{{ .main_subnet }}"
gateway: "{{ .router_ip }}"
dhcp:
- start: 10.10.0.10
end: 10.10.0.100
# Router 1
router1:
resource: openstack.v1.router
config:
external_network: MAIN NET
networks:
network1:
dhcp: false
ip: "{{ .router_ip }}"
```