README.md in kakine-0.1.0 vs README.md in kakine-0.2.0

- old
+ new

@@ -1,8 +1,8 @@ # Kakine -[![Build Status](https://secure.travis-ci.org/hsbt/kaname.png)](https://travis-ci.org/hsbt/kaname) +[![Build Status](https://secure.travis-ci.org/hsbt/kakine.png)](https://travis-ci.org/hsbt/kakine) Kakine(垣根) is configuration management tool of Security Group on OpenStack. ## Installation @@ -24,23 +24,26 @@ You can define Security Group configuration for OpenStack via YAML format. Like following syntax. ```yaml app: - - direction: ingress - protocol: tcp - port: 443 - remote_ip: 0.0.0.0/0 - - direction: ingress - protocol: tcp - port: 80 - remote_ip: 0.0.0.0/0 + rules: + - direction: ingress + protocol: tcp + port: 443 + remote_ip: 0.0.0.0/0 + - direction: ingress + protocol: tcp + port: 80 + remote_ip: 0.0.0.0/0 + description: app rules rails: - - direction: ingress - protocol: tcp - port: 3000 - remote_ip: 0.0.0.0/0 + rules: + - direction: ingress + protocol: tcp + port: 3000 + remote_ip: 0.0.0.0/0 ``` You need to put fog configuration to home directory. ```sh @@ -53,20 +56,20 @@ ``` run following command. ```sh -$ kakine show tenant_name # show Security Group of tenant_name -$ kaname apply tenant_name --dryrun # You can see all of invoke commands(dryrun) -$ kaname apply tenant_name # apply configuration into OpenStack +$ kakine show -t tenant_name # show Security Group of tenant_name +$ kaname apply -t tenant_name --dryrun # You can see all of invoke commands(dryrun) +$ kaname apply -t tenant_name # apply configuration into OpenStack ``` You can create or change Security Group on targeting tenant. If you need to initialize your Security Gruop, you can get it via following command: ```sh -$ kaname show tenant_name > tenant_name.yaml +$ kaname show -t tenant_name > tenant_name.yaml ``` ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.