[
https://issues.apache.org/jira/browse/DTACLOUD-445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576242#comment-13576242
]
Ronelle Landy commented on DTACLOUD-445:
----------------------------------------
Apply the patch and testing for the mock driver:
>> curl -X GET --user "un:pw"
>> "http://cloud-qe-3.idm.lab.bos.redhat.com:3006/api/hardware_profiles?format=xml"
<?xml version='1.0' encoding='utf-8' ?>
<hardware_profiles>
<hardware_profile
href='http://cloud-qe-3.idm.lab.bos.redhat.com:3006/api/hardware_profiles/m1-small'
id='m1-small'>
<id>m1-small</id>
<name>m1-small</name>
<property kind='fixed' name='storage' unit='GB' value='160' />
<property kind='fixed' name='architecture' unit='label' value='i386' />
<property kind='fixed' name='memory' unit='MB' value='1740.8' />
<property kind='fixed' name='cpu' unit='count' value='1' />
</hardware_profile>
Without the patch ...
>> curl -X GET --user "un;pw"
>> "http://cloud-qe-3.idm.lab.bos.redhat.com:3006/api/hardware_profiles?format=xml"<?xml
>> version='1.0' encoding='utf-8' ?>
<hardware_profiles>
<hardware_profile
href='http://cloud-qe-3.idm.lab.bos.redhat.com:3006/api/hardware_profiles/m1-small'
id='m1-small'>
<id>m1-small</id>
<name>m1-small</name>
<property kind='fixed' name='root_type' value='transient' />
<property kind='fixed' name='storage' unit='GB' value='160' />
<property kind='fixed' name='architecture' unit='label' value='i386' />
<property kind='fixed' name='memory' unit='MB' value='1740.8' />
<property kind='fixed' name='cpu' unit='count' value='1' />
</hardware_profile>
> Default value for HWP root_type should be 'nil'
> -----------------------------------------------
>
> Key: DTACLOUD-445
> URL: https://issues.apache.org/jira/browse/DTACLOUD-445
> Project: DeltaCloud
> Issue Type: Bug
> Reporter: Michal Fojtik
> Assignee: Michal Fojtik
>
> This is just a reminder based on conversation with Scott Seago:
> The 'root_type' HWP property should be not advertised by default, if HWP
> support both transient and persistent types of images.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira