This repository has been archived by the owner on Aug 1, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 'public' attribute to 'networks' entry
Update the 'networks' entry to expect a different format. Instead of a list of dictionaries containing either 'net-id' or 'net-label, it now expects a list of dictionaries containing at least 'name' and optionally 'public' -- a boolean defaulting to false that indicates that the specified network should be considered by nodepool to be the public network. Both 'net-id' and 'net-label' are deprecated. This is a straightforward transition from usage of 'net-label' to this form. There is no equivalent of 'net-id' in this form. This is in service of adding Internap to the OpenStack configuration. Change-Id: I3eb8d5183bd4c082f56853cf71842f1353977248
- Loading branch information
James E. Blair
committed
Jan 5, 2016
1 parent
39b306a
commit 0ceb3d5
Showing
8 changed files
with
164 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
script-dir: . | ||
images-dir: '{images_dir}' | ||
|
||
cron: | ||
check: '*/15 * * * *' | ||
cleanup: '*/1 * * * *' | ||
image-update: '14 2 * * *' | ||
|
||
zmq-publishers: | ||
- tcp://localhost:8881 | ||
|
||
gearman-servers: | ||
- host: localhost | ||
port: {gearman_port} | ||
|
||
labels: | ||
- name: fake-label | ||
image: fake-image | ||
min-ready: 1 | ||
providers: | ||
- name: fake-provider | ||
|
||
providers: | ||
- name: fake-provider | ||
region-name: fake-region | ||
keypair: 'if-present-use-this-keypair' | ||
username: 'fake' | ||
password: 'fake' | ||
auth-url: 'fake' | ||
project-id: 'fake' | ||
max-servers: 96 | ||
pool: 'fake' | ||
networks: | ||
- name: 'fake-public-network-name' | ||
public: true | ||
- name: 'fake-private-network-name' | ||
rate: 0.0001 | ||
images: | ||
- name: fake-image | ||
base-image: 'Fake Precise' | ||
min-ram: 8192 | ||
name-filter: 'Fake' | ||
meta: | ||
key: value | ||
key2: value | ||
setup: prepare_node_devstack.sh | ||
|
||
targets: | ||
- name: fake-target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters