Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iaas-ha
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OCP-TOOLS
iaas-ha
Commits
1dd14cb1
Commit
1dd14cb1
authored
9 years ago
by
Alessandro Costantini
Browse files
Options
Downloads
Patches
Plain Diff
Second vip added: neutron for controller
parent
f6e7f409
No related branches found
No related tags found
2 merge requests
!23
Dev
,
!17
Dev osvip2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
manifests/profile/neutron/common.pp
+2
-1
2 additions, 1 deletion
manifests/profile/neutron/common.pp
manifests/profile/neutron/server.pp
+15
-11
15 additions, 11 deletions
manifests/profile/neutron/server.pp
with
17 additions
and
12 deletions
manifests/profile/neutron/common.pp
+
2
−
1
View file @
1dd14cb1
...
...
@@ -10,8 +10,9 @@ class iaas::profile::neutron::common (
$debug
=
hiera
(
'iaas::debug'
,
undef
),
$region
=
hiera
(
'iaas::region'
,
undef
),
$endpoint
=
hiera
(
'iaas::role::endpoint::main_address'
,
undef
),
##rhosts
$endpoint
=
hiera
(
'iaas::role::endpoint::main_address'
,
undef
),
$rhosts
=
hiera
(
'iaas::profile::rabbitmq::rhosts'
,
undef
),
$rabbitmq_user
=
hiera
(
'iaas::profile::rabbitmq::user'
,
undef
),
$rabbitmq_password
=
hiera
(
'iaas::profile::rabbitmq::password'
,
undef
),
...
...
This diff is collapsed.
Click to expand it.
manifests/profile/neutron/server.pp
+
15
−
11
View file @
1dd14cb1
...
...
@@ -6,7 +6,10 @@ class iaas::profile::neutron::server (
$nova_password
=
hiera
(
'iaas::profile::nova::controller::password'
,
undef
),
$region
=
hiera
(
'iaas::region'
,
undef
),
$endpoint
=
hiera
(
'iaas::role::endpoint::main_address'
,
undef
),
#VIP1
$endpoint_main
=
hiera
(
'iaas::main_address'
,
undef
),
#VIP2
$endpoint_admin
=
hiera
(
'iaas::admin_address'
,
undef
),
)
{
include
iaas::resources::connectors
...
...
@@ -16,10 +19,10 @@ class iaas::profile::neutron::server (
include
iaas::profile::neutron::common
class
{
'::neutron::server'
:
auth_host
=>
$endpoint
,
auth_uri
=>
"http://
${endpoint}
:5000/v2.0"
,
auth_host
=>
$endpoint
_admin
,
auth_uri
=>
"http://
${endpoint
_main
}
:5000/v2.0"
,
##identity_uri set to be added in next OS release
# identity_uri => "http://${endpoint}:35357",
# identity_uri => "http://${endpoint
_admin
}:35357",
auth_password
=>
$neutron_password
,
database_connection
=>
$iaas::resources::connectors::neutron
,
enabled
=>
true
,
...
...
@@ -29,21 +32,22 @@ class iaas::profile::neutron::server (
l3_ha
=>
false
,
}
neutron_config
{
'DEFAULT/allow_automatic_l3agent_failover'
:
value
=>
"True"
,
neutron_config
{
'DEFAULT/allow_automatic_l3agent_failover'
:
value
=>
"True"
;
'keystone_authtoken/identity_uri'
:
value
=>
"http://
${endpoint_admin}
:35357"
;
}
class
{
'::neutron::keystone::auth'
:
password
=>
$neutron_password
,
public_address
=>
$endpoint
,
admin_address
=>
$endpoint
,
internal_address
=>
$endpoint
,
public_address
=>
$endpoint
_main
,
admin_address
=>
$endpoint
_admin
,
internal_address
=>
$endpoint
_admin
,
region
=>
$region
,
}
class
{
'::neutron::server::notifications'
:
nova_url
=>
"http://
${endpoint}
:8774/v2"
,
nova_admin_auth_url
=>
"http://
${endpoint}
:35357/v2.0"
,
nova_url
=>
"http://
${endpoint
_admin
}
:8774/v2"
,
nova_admin_auth_url
=>
"http://
${endpoint
_admin
}
:35357/v2.0"
,
nova_admin_password
=>
$nova_password
,
nova_region_name
=>
$region
,
nova_admin_tenant_name
=>
"services"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment