* Add a parameter for sha_type to the
client and behavior. This will allow
using sha1 or sha2 when generating
signatures.
Change-Id: I53ad5fc19d3e1705e7591e864527de2f0e47d38a
* This will prevent tons of text being
thrown in to the logs by SLOs, DLOS,
lots of querey params, etc.
Change-Id: I04504bf1773552127d7cd596f9ea072f1064efd2
* added constants module import
* changed an old tempurl constant reference
to the current tempurl constant value
Change-Id: I5e44ef9e35580e037a53a40bbb4c680f838b56d1
The method assertEquals has been deprecated since python 2.7.
http://docs.python.org/2/library/unittest.html#deprecated-aliases
Also in Python 3, a deprecated warning is raised when using assertEquals
therefore we should use assertEqual instead.
Change-Id: Ie81c19e6065633a4738dfe91ca07de3ae3745dc3
Closes-Bug: #1218185
* Added a method delete_unicode_object
which will encode a string in utf-8
so that a delete call will properly
delete the object.
* purge_container now uses this new method.
Change-Id: Ief1e4c4ed665668cb958cbb1df5637a09dfeac34
- verify_personas_conn for checking connectivity
between server persona instances
- verify_ping method for icmp checks
- verify_udp_connectivity for udp checks
- verify_tcp_connectivity for tcp checks
- scan_tcp_port for scanning tcp ports
Change-Id: I9ef115faf2a4f16e57a1331eb3efb9d85e2ea0ef
- Adding a get remote instance client wrapper for the compute method
to the networks behaviors.
- Adding the PortUpdate Exception
- Adding the add_rule method to the security groups behaviors
- Adding the remove_rule method to the security groups behaviors
- Adding security groups to the server persona
- Adding add_security_groups_to_ports to the server persona
- Adding remote client to server persona
Change-Id: Ib117da573ea4f3a2ce1e7d9614cbb391b322ffef
- Adding the response model
- Adding the client and behaviors for GET calls
- Adding the composites and constants
Change-Id: I8d6c962b5ed8ddbe0181f32283b8de657db9f4c1
- Adding the networking Resources tool for managing
networking related resources like: servers, keypairs
networks, subnets, ports and security groups.
Managing involves listing and deleting resources
- Updating the delete_keypairs, wait_for_servers_to_be_deleted
and _wait_for_compute_delete networking behavior methods
for better use by the Resources tool.
- Updating the check_response networking base behavior method
to make optional the check for entity.
- Adding the get_name_list_from_entity_list base behavior method
- Updating the DELETE_KEYPAIR constant
Change-Id: Ifa78e8d59543fbe3721d9e61f44d2e65a9ba884f
- Adding the external_service and external_service_id
params to the security groups and security group rules
responses
Change-Id: Ib9b06d0c39694c19bc9738962812a0dfe55d9778
In some part in the code we import objects. In the Openstack style
guidelines they recommend to import only modules.
http://docs.openstack.org/developer/hacking/#imports
Change-Id: I74109c2fcecad3812115b47316882f2053f90900
* Requests will no longer accept anything
except a string as header values. This
fix will make sure every header value is a
string.
Change-Id: Ice86b69658a79d44229defb8796b9fc0d055f58e
- Adding the CustomComposite class
- Adding the compute_endpoint_config param to the _ComputeAuthComposite
so it can be set like the endpoint_config and user_config
- Updating the _NetworkingAuthComposite params with:
networking_endpoint_config, user_auth_config and user_config
- Adding to the NetworkingComposite the auth_composite param
- Adding the auth_composite param to the networking extension composites:
ip_addresses_api, limits_api and security_groups_api
- Updating the CREATE_IP_ADDRESS constant to 201
Change-Id: I357724d8f3e1c9a6f85422fdc2c8f1c6be51acd9
- Adding capability to GET shared subnets like networks
- Updating the list_subnets behavior method with the shared attr
- Updating the list_subnets client method with the shared attr
Change-Id: I0e3b798c61079929b5896ec8156b13f053c9d95e
- Adding the RAX_PUBLIC_IP_ZONE constant
- Adding the ip_zone_hint param to the create_servers_in_same_cell behavior method
- Adding data to the server persona portv4 and portv6 attributes by the update_server_persona method
Change-Id: I879483584bb0145dd79be0de2bd1102a5dacd9c3
* Personas are used in the network code to abstract the steps of
getting the server IP addresses, network/subnet/port ids, etc.
from of the various networks. Adding a __str__ allows the code to
to display/log the information contained in the persona at any
given time.
Change-Id: Id9afc4eac0a15f648ff48e9bf72186ac243d5b44
* Added cmd_timeout/timeout parameter to allow ability to overwrite
pexpect's default value of 30s.
Change-Id: I6c532bd05ea3f10d70708198bdcb330450b87c2c
* Added an internal_url property to the
auth provider so that clients can access
this to test over snet.
* Fixed a minor typo in the Exception message
of public_url property.
Change-Id: I0faebbbad995bb453e25e5285aa492265859ae7a
* There are use cases where rather than SSH to a remote server
to execute cmds, the connection to the remote server is already
open, so use that connection to execute the commands.
USE CASE (example):
Execute cmds on/from proxy server: conn = connect_to_proxy(), and
then use that connection to execute commands.)
* Updated to better check if connection provided could be a connection
Raise execption if it is not a pexpect.spawn object.
Change-Id: Ie01aa891ecbfe76a1231cd0714ce5511bc4d05cc
* Connection refused condition not handled, until now.
* Better error checking (connection refused was accepted as pass)
* Small typo in docstring
Change-Id: Ibb297560c080b22ca05eeca908e178bbc0f7363b
* Allows easy ping to a remote server
* Allows easy connection to a remote server through a proxy
server
* Allows easy execution of commands on a remote server
Change-Id: I0eb4d0beb7bb741cc283aae0120c0123aea122c8