Skip to content

Commit

Permalink
Allow configuring domin_id in the contrailctl
Browse files Browse the repository at this point in the history
config files.

Change-Id: I85e3c5f758ba65b5f0f6626654a517249bdfd64e
Partial-Bug: 1724691
  • Loading branch information
cijohnson committed Oct 25, 2017
1 parent 15809fa commit 2506f60
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 2 deletions.
10 changes: 10 additions & 0 deletions tools/python-contrailctl/examples/configs/agent.conf
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,16 @@
#Required only if using privately signed certfile and keyfile
#cafile = /etc/contrailctl/ssl/ca-cert.pem

#project_domain_name - Project domain name for keystone v3
#Optional for keystone v3, if no specified domain scope auth
#will be used with domain_id=default
#Project_domain_name = Default

#domain_id- Domain id for keystone v3
#Optional for keystone v3, if no specified domain scope auth
#will be used with domain_id=default
#domain_id = default

[AGENT]
# physical interface used by vhost interface
# vrouter_physical_interface = eth0
Expand Down
8 changes: 7 additions & 1 deletion tools/python-contrailctl/examples/configs/analytics.conf
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,15 @@
#user_domain_name = Default

#project_domain_name - Project domain name for keystone v3
#Required for keystone v3
#Optional for keystone v3, if no specified domain scope auth
#will be used with domain_id=default
#Project_domain_name = Default

#domain_id- Domain id for keystone v3
#Optional for keystone v3, if no specified domain scope auth
#will be used with domain_id=default
#domain_id = default

[ALARM_GEN]
# Log file and log level
# log = /var/log/contrail/contrail-alarm-gen.log
Expand Down
8 changes: 7 additions & 1 deletion tools/python-contrailctl/examples/configs/controller.conf
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,15 @@
#user_domain_name = Default

#project_domain_name - Project domain name for keystone v3
#Required for keystone v3
#Optional for keystone v3, if no specified domain scope auth
#will be used with domain_id=default
#Project_domain_name = Default

#domain_id- Domain id for keystone v3
#Optional for keystone v3, if no specified domain scope auth
#will be used with domain_id=default
#domain_id = default

[CONTROL]
# BGP port number
# bgp_port=179
Expand Down
4 changes: 4 additions & 0 deletions tools/python-contrailctl/schema/definitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,10 @@
"project_domain_name": {
"description": "Project domain name for keystone v3",
"type": "string"
},
"domain_id": {
"description": "Domain id for keystone v3",
"type": "string"
}
}
},
Expand Down

0 comments on commit 2506f60

Please sign in to comment.