Skip to content

Commit

Permalink
Merge pull request #209 from squee1945/support-gce-networks
Browse files Browse the repository at this point in the history
Support GCE networks
  • Loading branch information
riccardomurri committed Dec 7, 2015
2 parents 791ea5c + 1865dd3 commit 89479dc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/config.template
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@
#
# zone: The GCE zone to be used. Default is `us-central1-a`.
#
# network: The GCE network to be used. Default is `default`.
#
#
# Valid configuration keys for *openstack*
# ----------------------------------------
Expand Down
5 changes: 5 additions & 0 deletions docs/configure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,11 @@ Valid configuration keys for `google`

The GCE zone to be used. Default is `us-central1-a`.

``network``

The GCE network to be used. Default is `default`.


Valid configuration keys for *openstack*
----------------------------------------

Expand Down
1 change: 1 addition & 0 deletions elasticluster/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ def nova_api_version(version):
"gce_project_id": All(str, Length(min=1)),
Optional("noauth_local_webserver"): Boolean(str),
Optional("zone"): All(str, Length(min=1)),
Optional("network"): All(str, Length(min=1)),
}

cloud_schema_openstack = {"provider": 'openstack',
Expand Down

0 comments on commit 89479dc

Please sign in to comment.