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)

Reply via email to