OpenStack Helper Utilities
Project description
# Useful OpenStack Helper Commands
## Install
~~~ pip install python-stackhelper ~~~
## Usage:
### Security Group Synchronization
~~~ $ stackhelper secgroup-sync –secgroup-json secgroups.example.json Deleting group: testing Creating group: chef Creating group: haproxy Creating group: apt Create rule ALLOW tcp/80-80 FROM ‘chef’ in group ‘apt’ Create rule ALLOW tcp/80-80 FROM ‘haproxy’ in group ‘apt’ Create rule ALLOW tcp/4000-4000 FROM ‘apt’ in group ‘chef’ Create rule ALLOW tcp/4000-4000 FROM ‘haproxy’ in group ‘chef’ Create rule ALLOW tcp/443-443 FROM ‘0.0.0.0/0’ in group ‘haproxy’
$ nova secgroup-add-rule chef tcp 100 200 0.0.0.0/0 +————-+———–+———+———–+————–+ | IP Protocol | From Port | To Port | IP Range | Source Group | +————-+———–+———+———–+————–+ | tcp | 100 | 200 | 0.0.0.0/0 | | +————-+———–+———+———–+————–+
$ stackhelper secgroup-sync –secgroup-json secgroups.example.json Delete rule ALLOW tcp/100-200 in group ‘chef’ ~~~
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file python-stackhelper-0.0.2.1.g73b531a.tar.gz
.
File metadata
- Download URL: python-stackhelper-0.0.2.1.g73b531a.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f6f3757de605b52c22ce9810c49e29161efa370505456b9c33f42d4ba46806f |
|
MD5 | 703d1193f5a2b2655326bfefc18fcbe5 |
|
BLAKE2b-256 | f8b576d10e6bbafb2d3d6b4d18f4eaa591c1034bc653ff5a1ae68ae366407d3e |