cyborg/cyborg/cmd
Shaohe Feng a308525d38 bug fix: endpoint register, import and devstack broken issues.
1. amend keyston endpoint register info
Service type should acceleration instead of cyborg.
For cyborg is just the service name.
We do not support uwsgi at present, so we must indicate service
port explicitly.

2. Fix package import error
Add full path to import module, so that the reference can be
resolved.

Story: 2001887
Task: 14368

3. devstack broken
TypeError: launch_service() got an unexpected keyword argument 'restart_method'
When initialize cyborg api service launcher, we already pass restart_method.
So no need to pass restart_method to launcher.launch_service, and it has not
restart_method argument.

Co-Authored-By: jiapei <jiapei2@lenovo.com>
Co-Authored-By: Zhipeng Huang <huangzhipeng@huawei.com>

Change-Id: Ic69e76b7bf86bbd1382aff07694ea9fbafd0862a
2018-04-28 07:11:33 +00:00
..
__init__.py Add cyborg-api command 2017-07-29 04:01:06 -04:00
agent.py Enable mutable config in Cyborg 2018-04-06 19:37:18 +08:00
api.py bug fix: endpoint register, import and devstack broken issues. 2018-04-28 07:11:33 +00:00
conductor.py Enable mutable config in Cyborg 2018-04-06 19:37:18 +08:00
dbsync.py add cyborg-conductor & db 2017-08-21 09:25:48 +08:00