Commit Graph

1256 Commits

Author SHA1 Message Date
Nandhini Devi Kaliaperumal 1a62bf21ad Changes to fix issue with data driven method names with slashes
Change-Id: Ie51fb6a2ccd8c55c7fd144dabe171dbeca9f0f12
2018-12-05 00:45:17 +05:30
Basavaraj Lamani 2c388d0a7d Added delete virtual interface API and Minor correction for virtual interface response
Change-Id: I40b7cb14c123746ade93b712a4b06354bc0bacea
2018-11-23 16:43:40 +05:30
Basavaraj Lamani 392a916695 virtual interface related API's added
Change-Id: I0840855b261f686042176afbd3f5d2ab2bebdc08
2018-11-17 00:05:49 +05:30
Basavaraj Lamani 112503b716 fixed ips configuration added
Change-Id: I9eaba8d73ffcc8f49e9ddcbec2f5d3530b4cda4c
2018-09-25 17:52:38 +05:30
Basavaraj Lamani 16e3a440e7 fixed ip related functions added
Change-Id: Ibfb101f295d98bd0a54c3327648f59a133086a51
2018-09-08 00:32:36 +05:30
Sourav Kumar Sanki b11d0320a1 Implemented the changes for review comments received for PCQE-210 and PCQE-219
Change-Id: Ic0bd316fdbc27f8468cbaae112865d2ba6be84af
2018-08-08 17:07:30 +05:30
Sourav Kumar Sanki 1b10ddc00d Committing changes for PCQE-210 and PCQE-219
Change-Id: Idd9a9782baa3eb50a14a6f12b9fbb8143f552fdc
2018-07-16 18:23:04 +05:30
blue55 e9693983f6 Remove unused parameter
Change-Id: I6cc459855fc33c9b9c4e05c56bd671027aa76767
2017-08-03 10:14:38 +08:00
josh7810 6c42ae2142 Client and behavior changes
* Add a parameter for sha_type to the
  client and behavior. This will allow
  using sha1 or sha2 when generating
  signatures.

Change-Id: I53ad5fc19d3e1705e7591e864527de2f0e47d38a
2017-06-05 10:26:14 -05:00
josh7810 1a8e4893b6 Truncate the logline in logging wrapper
* This will prevent tons of text being
  thrown in to the logs by SLOs, DLOS,
  lots of querey params, etc.

Change-Id: I04504bf1773552127d7cd596f9ea072f1064efd2
2017-04-04 17:12:27 -05:00
Carlos 'Legionarius' Martinez bbaff13c5c Add tempurl constant
* added constants module import
* changed an old tempurl constant reference
  to the current tempurl constant value

Change-Id: I5e44ef9e35580e037a53a40bbb4c680f838b56d1
2017-02-23 15:17:06 -06:00
josh7810 fd3b16fe58 Get account hash behavior
* Add a new behavior to return the Cloud Files
  account hash.

Change-Id: I81dc9670425bfe2da1f39c8919a46cbc2b4ae4ac
2017-02-02 17:02:21 -06:00
josh7810 ecca41dca0 Changes for default unicode usage
* 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
2017-01-20 16:34:36 -06:00
Leonardo Maycotte 216bbb10f3 Connectivity check module
- 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
2016-11-10 11:43:13 -06:00
Leonardo Maycotte 947a27eb59 Security Groups and Server Persona Add-ons
- 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
2016-10-27 13:37:25 -05:00
Jenkins 93f15d674d Merge "Clean imports in code" 2016-10-14 13:37:18 +00:00
Leonardo Maycotte 7a13551cac Neutron Jobs API for SG auto port update checks
- Adding the response model
- Adding the client and behaviors for GET calls
- Adding the composites and constants

Change-Id: I8d6c962b5ed8ddbe0181f32283b8de657db9f4c1
2016-10-07 22:20:58 -05:00
Leonardo Maycotte de93ab7732 Networking resource management tool
- 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
2016-10-06 17:06:55 -05:00
Leonardo Maycotte d0863e0b16 Adding security groups model params
- Adding the external_service and external_service_id
  params to the security groups and security group rules
  responses

Change-Id: Ib9b06d0c39694c19bc9738962812a0dfe55d9778
2016-10-06 15:50:43 -05:00
Nathan Buckner afdd1441be Python 3 compat changes
Change-Id: I2a474eb021392951aa02a3c4899fd1f01be19b1a
2016-09-14 13:40:26 -05:00
Nguyen Hung Phuong a8b9240bc2 Clean imports in code
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
2016-09-01 11:01:59 +07:00
josh7810 124c0923f7 Fix Client for Requests Update
* 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
2016-08-10 16:10:34 -05:00
Jenkins ecc94171fb Merge "Creating Custom Composites for networking and compute" 2016-08-03 21:09:21 +00:00
Leonardo Maycotte b14d5b5b31 Creating Custom Composites for networking and compute
- 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
2016-08-03 14:10:08 -05:00
Leonardo Maycotte 753bb97464 Adding shared attribute to GET subnets
- 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
2016-07-23 16:03:17 -05:00
Leonardo Maycotte 01252995ca Networking Behavior Compute Methods
- Minor updates on get_networking_server behavior method
- Adding compute wrapper behavior methods: list_server,
list_server_ids, delete_servers, create_keypair, get_keypair,
list_keypairs, and delete_keypairs
- Adding create_multiple_servers behavior method
- Removing create_servers_in_same_cell behavior method.
Functionality now available in create_multiple_servers
- Adding compute response code constants
- Adding server, keypair and missing data exceptions

Change-Id: I17e0503da7055c0193ed148f6ac39c0fb61b60e0
2016-07-12 17:13:21 -05:00
Leonardo Maycotte c2b148b4c0 Minor Shared IP infrastructure updates
- 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
2016-06-06 11:11:59 -05:00
Jenkins 7715bfe7f6 Merge "Added parameter to override defauilt cmd timeout in pexpect" 2016-05-26 05:33:13 +00:00
Jenkins 46bece46a0 Merge "Added network persona __str__ to describe contents of persona" 2016-05-26 05:32:55 +00:00
Christopher Hunt 34ddf9d332 Added network persona __str__ to describe contents of persona
* 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
2016-05-12 09:08:36 -05:00
Christopher Hunt 9ee7b8248f Added parameter to override defauilt cmd timeout in pexpect
* Added cmd_timeout/timeout parameter to allow ability to overwrite
  pexpect's default value of 30s.

Change-Id: I6c532bd05ea3f10d70708198bdcb330450b87c2c
2016-05-12 09:02:48 -05:00
Jenkins 78ad9acb01 Merge "Added 'Connection Refused' support + better error checking" 2016-05-06 15:30:06 +00:00
Jenkins 74bb3276a5 Merge "Added execute_cmds_via_open_connection" 2016-05-06 14:27:15 +00:00
josh7810 b04926456a Add internal_url property to Auth Provider
* 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
2016-05-04 16:28:56 -05:00
Jose Idar a0b9c2e1bd Adding BlockStorage alt user config
Change-Id: I6906b4f4962a0da34744deff60bf2d583a44ff07
2016-04-27 15:26:15 -05:00
Christopher Hunt 8a0a67d2e2 Added execute_cmds_via_open_connection
* 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
2016-04-27 11:46:11 -05:00
Jenkins 5c32613975 Merge "Added volume_transfer client models for v1 and v2 -removed instances of v1 on url and comments -changed names for clarity" 2016-04-22 20:16:31 +00:00
Rafael Galarza 570348fc95 Added volume_transfer client models for v1 and v2
-removed instances of v1 on url and comments
-changed names for clarity

Change-Id: Ifd26389b399d9bc3b5d4bfba52112c49613cee6c
2016-04-21 13:41:28 -05:00
Jenkins 2cad2d97d6 Merge "Adding networking config parameters" 2016-04-14 18:22:47 +00:00
Christopher Hunt e5dadce20f Added 'Connection Refused' support + better error checking
* Connection refused condition not handled, until now.
* Better error checking (connection refused was accepted as pass)
* Small typo in docstring

Change-Id: Ibb297560c080b22ca05eeca908e178bbc0f7363b
2016-04-14 11:14:25 -05:00
Anna Eilering 927a2b11d5 Adding IPv6 support to the proxy ping methods.
Change-Id: Ie8610e4ab674d34688fa1eab25c76242b05113f7
2016-04-13 20:17:44 -05:00
Leonardo Maycotte 99e03ee52f Adding networking config parameters
- Adding the ping_count and accepted_packet_loss params

Change-Id: Id6a1e7629b58e0e088fa1d5ffa243ac4936b0728
2016-04-07 23:57:33 -05:00
Christopher Hunt 6645144868 Initial commit for a Networking Proxy Manager
* 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
2016-04-01 13:06:26 -05:00
Jenkins ebfead8694 Merge "Fixed typo in comments" 2016-03-16 19:23:39 +00:00
Brandon Palm 68f49b73e3 Fixed typo in comments
Change-Id: I3d228c785b6fb27295a9fe6168be9004966fba09
2016-03-16 14:03:40 -05:00
Doyle Dennis 315a13303b Add all_tenants optional parameter
* Added optional all_tenants parameter to list_servers request
* Added optional all_tenants parameter to list_servers_with_details request

Change-Id: I955fa87b4c42dc1d8b599803a628136699fc9627
2016-03-16 12:17:50 -05:00
Jenkins 99c39025c9 Merge "Creation of DNS Dig tool" 2016-03-11 19:28:22 +00:00
josh7810 bc36d20bb2 Creation of DNS Dig tool
* Creation of module dns_dig
* Added dig and dig_search functions
* dig uses dnspython package to query
  the given url and return the target
  from the answer.
* dig_search will recursively call dig
  to look for a search string amount the
  urls that dig finds.
* Updated pip-requires to add dnspython

Change-Id: I6393c52f4f8b903dff100569d3be59f970d56f95
2016-03-10 16:58:28 -06:00
Jose Idar 7d10b51990 Snapshot behaviors now use the poll_failure_retry_limit correctly
Change-Id: I3d6ee757d3831a734433a5c4fae405d2fd2b318c
2016-03-10 10:50:00 -06:00
Jenkins ab0bbfcd34 Merge "Moved logic from monolithic attach/detach behaviors into component methods" 2016-03-03 16:56:35 +00:00