cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-9630) Cannot use listNics API as advertised
Date Wed, 29 Mar 2017 04:08:41 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-9630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15946500#comment-15946500
] 

ASF GitHub Bot commented on CLOUDSTACK-9630:
--------------------------------------------

Github user PranaliM commented on the issue:

    https://github.com/apache/cloudstack/pull/1797
  
    Test LGTM based on manual testing of the fix:
    
    **Before Fix:**
    <nic>
    <id>d82b2278-ca19-46da-b532-0a044e778bb8</id>
    <networkid>71424164-015c-4163-9dde-74019fb22ce2</networkid>
    <netmask>255.255.255.0</netmask>
    <gateway>10.1.1.1</gateway>
    <ipaddress>10.1.1.119</ipaddress>
    <traffictype>Guest</traffictype>
    <isdefault>true</isdefault>
    <macaddress>02:00:1c:fe:00:01</macaddress>
    <deviceid>0</deviceid>
    <virtualmachineid>71a0be44-69e4-4821-b8d9-e579ed04d52a</virtualmachineid>
    </nic>
    
    **After Fix:**
    <nic>
    <id>d82b2278-ca19-46da-b532-0a044e778bb8</id>
    <networkid>71424164-015c-4163-9dde-74019fb22ce2</networkid>
    <netmask>255.255.255.0</netmask>
    <gateway>10.1.1.1</gateway>
    <ipaddress>10.1.1.119</ipaddress>
    <traffictype>Guest</traffictype>
    **<type>Isolated</type>**
    <isdefault>true</isdefault>
    <macaddress>02:00:1c:fe:00:01</macaddress>
    <deviceid>0</deviceid>
    <virtualmachineid>71a0be44-69e4-4821-b8d9-e579ed04d52a</virtualmachineid>
    </nic>


> Cannot use listNics API as advertised
> -------------------------------------
>
>                 Key: CLOUDSTACK-9630
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9630
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Sudhansu Sahu
>
> listNics API for a VM, "type" was not returned within API response. 
> EXPECTED BEHAVIOR
> ==================
> The listNics API response return type of NIC (type), as specified in https://cloudstack.apache.org/api/apidocs-4.8/user/listNics.html
>  
> ACTUAL BEHAVIOR
> ==================
> The listNics API response does not return type of NIC.
> (local) 🐵 > list nics virtualmachineid=a69edaf5-8f21-41ff-8c05-263dc4bd5354 
> count = 1
> nic:
> id = 211e0d46-6b94-4425-99f7-e8e9efea2472
> deviceid = 0
> gateway = 10.1.1.1
> ipaddress = 10.1.1.45
> isdefault = True
> macaddress = 02:00:06:f6:00:01
> netmask = 255.255.255.0
> networkid = c08fddf1-fd77-4810-a062-ea9d03c5c7e6
> virtualmachineid = a69edaf5-8f21-41ff-8c05-263dc4bd5354
>  
>  



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message