cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "wenwenxiong (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-9537) cloudstack can only get network data of eth0 in the xenserver host
Date Sun, 09 Oct 2016 01:47:20 GMT
wenwenxiong created CLOUDSTACK-9537:
---------------------------------------

             Summary: cloudstack can only get network data of eth0 in the xenserver host 
                 Key: CLOUDSTACK-9537
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9537
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Hypervisor Controller
    Affects Versions: 4.9.0
         Environment: cloudstack xenserver6.5
            Reporter: wenwenxiong


in com.cloud.hypervisor.xenserver.resource.CitrixResourceBase

the getHostStats function
.....
 if (type.equalsIgnoreCase("host")) {

                if (param.matches("pif_eth0_rx")) {
                    hostStats.setNetworkReadKBs(getDataAverage(dataNode, col, numRows)/1000);
                } else if (param.matches("pif_eth0_tx")) {
                    hostStats.setNetworkWriteKBs(getDataAverage(dataNode, col, numRows)/1000);
.....

this code is fix to get network data from eth0 from xenserver host




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message