Cisco Cisco Intercloud Fabric for Provider Entwickleranleitung
Page 4
Field
Description
"publicIP" : "true"
}
}
}
]
imageAlgorithmVersion
Specify V2.
imageTransferBlockSize Specify 524288.
destPath
Destination directory in which the downloaded files reside. This directory must be as
large as the file being tested.
large as the file being tested.
Test Harness API Details
The test harness APIs are organized as follows:
●
Cloud provisioning and tenant configuration APIs
The cloud and tenant configuration and query APIs, which the test harness exercises, are available only to a
service provider administrator. For the complete set of APIs, see the
service provider administrator. For the complete set of APIs, see the
●
VM life cycle preparation APIs
These APIs are used to discover details about the back-end platform and perform any additional configuration
required for VM life cycle operations. These APIs are used by a tenant administrator and simulate Cisco
Intercloud Fabric Director. These APIs can discover locations, capabilities, and VPC capabilities of the back-
end cloud platform. These APIs can also be used to create networks in the back end that are used later for VM
operations.
required for VM life cycle operations. These APIs are used by a tenant administrator and simulate Cisco
Intercloud Fabric Director. These APIs can discover locations, capabilities, and VPC capabilities of the back-
end cloud platform. These APIs can also be used to create networks in the back end that are used later for VM
operations.
●
VM life cycle APIs
These APIs are used to upload images and templates, and to create VMs using the uploaded templates. You
can also use these APIs to perform operations such as start, stop, reboot, and delete on the templates and
VMs.
can also use these APIs to perform operations such as start, stop, reboot, and delete on the templates and
VMs.
Preparing to Use the Test Harness
Before using the test harness, complete the following tasks:
1. Install and configure Cisco ICFPP for use.
2. Confirm that Python 2.7 is being used on the test harness machine. If Cisco ICFPP is used as the test
harness, confirm that Python 2.7 is located at /usr/local/bin/python2.7.
3. Ensure that the back-end cloud platform is accessible from Cisco ICFPP.
4. Set up any required resources on the cloud.
Using the Test Harness
A Linux system with Python 2.7.x is required to use the test harness.
Note
●
The Cisco ICFPP test harness is not supported on Windows systems.
●
If desired, you can use Cisco ICFPP itself as the test harness machine. If you do so, in the userInput.txt file,
change the targetIp field to localhost (127.0.0.1) before performing the following steps.
change the targetIp field to localhost (127.0.0.1) before performing the following steps.
To run the test harness, perform the following steps:
1. Copy the test harness package into a directory.
2. Modify the userInput.txt configuration file using the setup information. For more information about the
userInput.txt file, see