Bug 787543 - Rest API does not allow user to specify ssh key type upon creating domain.
Summary: Rest API does not allow user to specify ssh key type upon creating domain.
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 1.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Lili Nader
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-06 04:12 UTC by Johnny Liu
Modified: 2014-10-26 20:41 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-15 07:27:19 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Johnny Liu 2012-02-06 04:12:49 UTC
Description of problem:
Rest API does not allow user to specify ssh key type upon creating domain.

Version-Release number of selected component (if applicable):
rubygem-cloud-sdk-common-0.4.1-1.el6_2.noarch
rubygem-cloud-sdk-controller-0.4.1-1.el6_2.noarch
rubygem-cloud-sdk-node-0.4.1-1.el6_2.noarch


How reproducible:
Always

Steps to Reproduce:
1. Access rest api link.
$ curl -k -X GET -H "Accept: application/xml" --user jialiu:xx  https://ec2-23-20-21-246.compute-1.amazonaws.com/broker/rest/api
<--snip-->
    <link>
      <rel>Create new domain</rel>
      <method>POST</method>
      <href>/domains</href>
      <required-params>
        <param>
          <type>string</type>
          <name>namespace</name>
          <valid-options/>
          <description>Name of the domain</description>
        </param>
        <param>
          <type>string</type>
          <name>ssh</name>
          <valid-options/>
          <description>The key portion of an rsa key (excluding ssh-rsa and comment)</description>
        </param>
      </required-params>
      <optional-params/>
    </link>
<--snip-->
2.
3.
  
Actual results:
Rest API does not allow user to specify ssh key type upon creating domain.

Expected results:
Should allow user to specify ssh key type as optional param upong creating domain.

Additional info:

Comment 2 Shirley Zhou 2012-02-15 07:27:19 UTC
According to comment 1, we have user story to keep tracking of this bug, I will close this bug upstream. Thanks.


Note You need to log in before you can comment on or make changes to this bug.