X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=system%2FTestPlc.py;h=c6b8e9078384547802e199e2b0bc7294264c4ed6;hb=074c867df244b46e3b0897744677ba4f2c0b61e8;hp=e3bd111d4c9925d87e165206880b75ed5b6c0468;hpb=7bd1128b4d9785c70eceb90c337c73860d69e24a;p=tests.git diff --git a/system/TestPlc.py b/system/TestPlc.py index e3bd111..c6b8e90 100644 --- a/system/TestPlc.py +++ b/system/TestPlc.py @@ -20,6 +20,7 @@ from TestBoxQemu import TestBoxQemu from TestSsh import TestSsh from TestApiserver import TestApiserver from TestAuthSfa import TestAuthSfa +from PlcapiUrlScanner import PlcapiUrlScanner # step methods must take (self) and return a boolean (options is a member of the class) @@ -83,7 +84,8 @@ class TestPlc: 'show', SEP, 'vs_delete','timestamp_vs','vs_create', SEP, 'plc_install', 'plc_configure', 'plc_start', SEP, - 'keys_fetch', 'keys_store', 'keys_clear_known_hosts', 'speed_up_slices', SEP, + 'keys_fetch', 'keys_store', 'keys_clear_known_hosts', SEP, + 'plcapi_urls','speed_up_slices', SEP, 'initscripts', 'sites', 'nodes', 'slices', 'nodegroups', 'leases', SEP, # slices created under plcsh interactively seem to be fine but these ones don't have the tags # keep this our of the way for now @@ -1139,6 +1141,9 @@ class TestPlc: @node_mapper def keys_clear_known_hosts (self): pass + def plcapi_urls (self): + return PlcapiUrlScanner (self.auth_root(),ip=self.vserverip).scan() + def speed_up_slices (self): "tweak nodemanager settings on all nodes using a conf file" # create the template on the server-side