cleaning and improving setup configuration
Change-Id: Ic84f254937f10e44144d9f95e115f5b84f269805
This commit is contained in:
parent
29719e3d60
commit
435c96f9f8
|
@ -9,8 +9,7 @@ verbose=False
|
|||
# "keystone" or "noauth". "noauth" should not be used in a
|
||||
# production environment because all authentication will be
|
||||
# disabled. (string value)
|
||||
auth_strategy=noauth
|
||||
#auth_strategy=keystone
|
||||
auth_strategy=keystone
|
||||
|
||||
# Enable pecan debug mode. WARNING: this is insecure and
|
||||
# should not be used in a production environment. (boolean
|
||||
|
@ -20,19 +19,14 @@ auth_strategy=noauth
|
|||
|
||||
[wamp]
|
||||
wamp_transport_url = ws://<host>:<port>/
|
||||
#wamp_ip = <wamp_router_ip>
|
||||
#wamp_port = <port>
|
||||
wamp_realm = s4t
|
||||
# register_agent = True
|
||||
|
||||
|
||||
|
||||
[database]
|
||||
connection = mysql://<user>:<password>@<host>/iotronic
|
||||
|
||||
[oslo_messaging_rabbit]
|
||||
#rabbit_host = controller
|
||||
#rabbit_userid = openstack
|
||||
#rabbit_password = RABBIT_PASS
|
||||
|
||||
[keystone_authtoken]
|
||||
auth_uri = http://<keystone_host>:5000
|
||||
auth_url = http://<keystone_host>:35357
|
||||
|
|
|
@ -22,5 +22,7 @@ from iotronic.conductor.manager import ConductorManager
|
|||
import socket
|
||||
|
||||
CONF = cfg.CONF
|
||||
if __name__ == '__main__':
|
||||
cond = ConductorManager(socket.gethostname())
|
||||
|
||||
|
||||
def main():
|
||||
ConductorManager(socket.gethostname())
|
||||
|
|
|
@ -22,5 +22,6 @@ Iotronic Wamp Agent
|
|||
from iotronic.wamp.agent import WampAgent
|
||||
import socket
|
||||
|
||||
if __name__ == '__main__':
|
||||
wa = WampAgent(socket.gethostname())
|
||||
|
||||
def main():
|
||||
WampAgent(socket.gethostname())
|
Loading…
Reference in New Issue