Bug 787543

Summary: Rest API does not allow user to specify ssh key type upon creating domain.
Product: OKD Reporter: Johnny Liu <jialiu>
Component: ContainersAssignee: Lili Nader <lnader>
Status: CLOSED UPSTREAM QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.xCC: mfisher, rmillner, szhou
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-15 07:27:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.