aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/moon_orchestrator/conf/plugins
diff options
context:
space:
mode:
authorasteroide <thomas.duval@orange.com>2017-05-05 11:16:38 +0200
committerasteroide <thomas.duval@orange.com>2017-05-05 11:16:38 +0200
commit94aa78ca23c4db13a0752fbdd0df96730b1e7288 (patch)
tree4e77ef8776d5f93b12eae84696f953faf7c3ea6e /moonv4/moon_orchestrator/conf/plugins
parent67369036badcb4ae84fb7c1c7d7dabfab27326e6 (diff)
Code update for chaining policies.
Change-Id: If9f6c2640492f69d0f3af2118fade72700df47e6
Diffstat (limited to 'moonv4/moon_orchestrator/conf/plugins')
-rw-r--r--moonv4/moon_orchestrator/conf/plugins/authz.py17
1 files changed, 9 insertions, 8 deletions
diff --git a/moonv4/moon_orchestrator/conf/plugins/authz.py b/moonv4/moon_orchestrator/conf/plugins/authz.py
index c472b36a..4a1441c9 100644
--- a/moonv4/moon_orchestrator/conf/plugins/authz.py
+++ b/moonv4/moon_orchestrator/conf/plugins/authz.py
@@ -47,16 +47,17 @@ RUN pip3 install .
)
# note(asteroide): time to let the new docker boot
time.sleep(3)
- self.get_status()
+ # self.get_status()
def get_status(self):
- transport = oslo_messaging.get_transport(CONF)
- target = oslo_messaging.Target(topic=self.id, version='1.0')
- client = oslo_messaging.RPCClient(transport, target)
- LOG.info("Calling Status on {}".format(self.id))
- ret = client.call({"component_id": self.id}, 'get_status', args=None)
- LOG.info(ret)
- return ret
+ return True
+ # transport = oslo_messaging.get_transport(CONF)
+ # target = oslo_messaging.Target(topic=self.id, version='1.0')
+ # client = oslo_messaging.RPCClient(transport, target)
+ # LOG.info("Calling Status on {}".format(self.id))
+ # ret = client.call({"component_id": self.id}, 'get_status', args=None)
+ # LOG.info(ret)
+ # return ret
def run(uuid, conf_file="", docker=None, network_config=None):