X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fdummy%2Fdummy_testbed_api_client.py;h=2c3d363f57639685213c53938e5b92f1491d43de;hb=713d58df0baa1f9739eec9bfa30ceb41d7149e23;hp=57a048254d465bf9720c7b88305d974e817383ba;hpb=06768bd605e5d47fadfc90a35c74e30f267226a5;p=sfa.git diff --git a/sfa/dummy/dummy_testbed_api_client.py b/sfa/dummy/dummy_testbed_api_client.py index 57a04825..2c3d363f 100644 --- a/sfa/dummy/dummy_testbed_api_client.py +++ b/sfa/dummy/dummy_testbed_api_client.py @@ -8,7 +8,8 @@ dummy_url = "http://localhost:8080" dummy_api = xmlrpc_client.ServerProxy(dummy_url) # Add a user: -my_user_id = dummy_api.AddUser({'email': 'john.doe@test.net', 'user_name': 'john.doe', 'keys': ['copy here your ssh-rsa public key']}) +my_user_id = dummy_api.AddUser({'email': 'john.doe@test.net', 'user_name': 'john.doe', 'keys': [ + 'copy here your ssh-rsa public key']}) # Attach the user with the slice named : slice2 : dummy_api.AddUserToSlice({'slice_id': 2, 'user_id': my_user_id})