cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
cfsp_globals.py
Go to the documentation of this file.
1 # *****************************************************************************
2 # * cloudFPGA
3 # * Copyright 2016 -- 2022 IBM Corporation
4 # * Licensed under the Apache License, Version 2.0 (the "License");
5 # * you may not use this file except in compliance with the License.
6 # * You may obtain a copy of the License at
7 # *
8 # * http://www.apache.org/licenses/LICENSE-2.0
9 # *
10 # * Unless required by applicable law or agreed to in writing, software
11 # * distributed under the License is distributed on an "AS IS" BASIS,
12 # * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # * See the License for the specific language governing permissions and
14 # * limitations under the License.
15 # *----------------------------------------------------------------------------
16 
17 
20 
21 __openstack_user_template__ = {}
22 __openstack_user_template__['credentials'] = {}
23 __openstack_user_template__['credentials']['username'] = "your user name"
24 __openstack_user_template__['credentials']['password'] = "your user password"
25 __openstack_user_template__['project'] = "default"
26 
27 __cf_manager_url__ = "10.12.0.132:8080"
28 __NON_FPGA_IDENTIFIER__ = "NON_FPGA"
29 
30 __cfsp_username__ = 'gobal_username_example'
31 __cfsp_password__ = 'gobal_password_example'
32 __cfsp_project__ = 'default'
33 
34 __POST_CLUSTER_TIMEOUT__ = 130
35 __GET_CLUSTER_TIMEOUT__ = 5
36 __DELETE_CLUSTER_TIMEOUT__ = 20
37 
38 __GET_INSTANCE_TIMEOUT__ = 5
39 __DELETE_INSTANCE_TIMEOUT__ = 20