Change-Id: Iab43076d7045c64ca11272455562ac37d49491c3
Issue-ID: MULTICLOUD-150
Signed-off-by: Bin Sun <bins@vmware.com>
from oslo_service import wsgi
from multivimbroker.api_v2 import app
+from multivimbroker.pub.config import config as mc_cfg
CONF = cfg.CONF
CONF,
"multivimbroker",
self.app,
- # TODO(xiaohhui): these should be configurable.
host="0.0.0.0",
- port="9002",
+ port=mc_cfg.API_SERVER_PORT,
use_ssl=False
)
# [IMAGE LOCAL PATH]
ROOT_PATH = os.path.dirname(
os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
+
+# [Local Config]
+API_SERVER_PORT = 9001