Commit 117b48c2 authored by Ivan Tyagov's avatar Ivan Tyagov

WIP

parent ddb4b4e2
......@@ -12,4 +12,4 @@ md5sum = cbaa8e36097f36caf1a377fa71341a09
[test_beremiz.py]
filename = test_beremiz.py
md5sum =4e77e52b53efb08665082f779fa3856f
md5sum = 912bf9ead34d0aaa144de078eb8bbb6c
......@@ -40,3 +40,4 @@ depends = ${lxml-python:egg}
eggs =
${pygolang:egg}
slapos.core
opcua
......@@ -106,7 +106,17 @@ class BeremizTest(EndToEndTestCase):
#instance_name = 'e2e-test-beremiz-runtime' # avoid timestamp to reuse instance
release = "https://lab.nexedi.com/nexedi/slapos/raw/master/software/beremiz-runtime/software.cfg"
parameter_dict = {"runtime_plc_url": "https://lab.nexedi.com/nexedi/osie/raw/master/Beremiz/beremiz_test_opc_ua/bin/beremiz_test_opc_ua.tgz"}
json_in_xml_parameters = {'_': json.dumps(parameter_dict)}
cls.request(release,
instance_name,
partition_parameter_kw=parameter_dict)
cls.waitUntilGreen(instance_name)
connection_dict = cls.getInstanceInfos(instance_name).connection_dict
# supply / request coupler
instance_name = time.strftime('e2e-test-coupler-%Y-%B-%d-%H:%M:%S')
release = "https://lab.nexedi.com/nexedi/slapos/raw/master/software/osie-coupler/software-dev.cfg"
parameter_dict = {"mode":1,
"network_interface": "192.168.0.0"}
cls.request(release,
instance_name,
partition_parameter_kw=parameter_dict)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment