-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support installation of Neutron ZVM Driver
Allow deploying with the ZVM L2 driver.
- Loading branch information
1 parent
fdc5a1e
commit 910f1d1
Showing
8 changed files
with
90 additions
and
0 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
51 changes: 51 additions & 0 deletions
51
chef/cookbooks/neutron/templates/default/neutron_zvm_plugin.ini.erb
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,51 @@ | ||
[AGENT] | ||
# (StrOpt) xCat REST API username, default value is admin. | ||
# zvm_xcat_username = admin | ||
zvm_xcat_username = <%= @zvm[:zvm_xcat_username] %> | ||
# Example: zvm_xcat_username = guest | ||
|
||
# (StrOpt) Password of the xCat REST API user, default value is admin | ||
# zvm_xcat_password = admin | ||
zvm_xcat_password = <%= @zvm[:zvm_xcat_password] %> | ||
# Example: zvm_xcat_password = passw0rd | ||
|
||
# (StrOpt) xCat MN server address, IP address or host name | ||
# zvm_xcat_server = YourxCATMNServerAddress | ||
zvm_xcat_server = <%= @zvm[:zvm_xcat_server] %> | ||
# Example: zvm_xcat_server = 10.0.0.1 | ||
|
||
# (StrOpt) xCat zHCP nodename in xCAT, default value is zhcp | ||
# xcat_zhcp_nodename = zhcp | ||
# Example: xcat_zhcp_nodename = myzhcp1 | ||
|
||
# (StrOpt) The compute node name neutron-zvm-agent work on, same as 'host'in nova.conf | ||
# This property is optional. If it is not specified, 'host' in neutron.conf will be | ||
# used. Moreover, 'host' in neutron.conf is recommended and this property is deprecated. | ||
# zvm_host = opnstk1 | ||
# Example: zvm_host = opnstk1 | ||
|
||
# (IntOpt) Agent's polling interval in seconds, default value is 2 seconds | ||
# polling_interval = 2 | ||
# Example: polling_interval = 5 | ||
|
||
# (IntOpt) The number of seconds the agent will wait for | ||
# xCAT MN response, default value is 300 seconds | ||
# zvm_xcat_timeout = 300 | ||
# Example: zvm_xcat_timeout = 600 | ||
|
||
# (StrOpt ) xcat management NIC IP. | ||
# xcat_mgt_ip = 10.1.0.1 | ||
# Example: xcat_mgt_ip=10.1.0.1 | ||
|
||
# (StrOpt ) xcat management NIC mask. | ||
# xcat_mgt_mask=255.255.0.0 | ||
# Example: xcat_mgt_mask=255.255.0.0 | ||
|
||
# (StrOpt ) rdev_list for each vswitch's uplink real device(s), seperated by ','. | ||
# If a vswitch does not connect an OSA, which means it does not connect to | ||
# external network, rdev_list can be ignored. | ||
# A new section is required for each vswitch which has a uplink port. | ||
# rdev_list = 6000 | ||
# Example: | ||
# [ xcatvsw3 ] | ||
# rdev_list = 6000,6003,6005 |
9 changes: 9 additions & 0 deletions
9
chef/data_bags/crowbar/migrate/neutron/043_add_zvm_attributes.rb
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,9 @@ | ||
def upgrade ta, td, a, d | ||
a['zvm'] = ta['zvm'] | ||
return a, d | ||
end | ||
|
||
def downgrade ta, td, a, d | ||
a.delete('zvm') | ||
return a, d | ||
end |
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