parser.add_option("-D", "--debug",
action="store_true", dest="debug", default=False,
help="Debug (xml-rpc) protocol messages")
parser.add_option("-D", "--debug",
action="store_true", dest="debug", default=False,
help="Debug (xml-rpc) protocol messages")
# would it make sense to use ~/.ssh/id_rsa as a default here ?
parser.add_option("-k", "--private-key",
action="store", dest="user_private_key", default=None,
# would it make sense to use ~/.ssh/id_rsa as a default here ?
parser.add_option("-k", "--private-key",
action="store", dest="user_private_key", default=None,
# not contained in this request will be removed from the slice
# CreateSliver has supported the options argument for a while now so it should
# not contained in this request will be removed from the slice
# CreateSliver has supported the options argument for a while now so it should
- result = server.CreateSliver(slice_urn, creds, rspec, users, api_options)
+ result = server.CreateSliver(slice_urn, creds, rspec, users, *self.ois(server, api_options))
if options.delegate:
delegated_cred = self.delegate_cred(slice_cred, get_authority(self.authority))
creds.append(delegated_cred)
if options.delegate:
delegated_cred = self.delegate_cred(slice_cred, get_authority(self.authority))
creds.append(delegated_cred)
- result = server.SliverStatus(slice_urn, creds, self.ois(server,api_options))
+ result = server.SliverStatus(slice_urn, creds, *self.ois(server,api_options))