wido commented on issue #3519: kvm/cloudstack-guest-tool: Tool to query Qemu 
Guest Agent
URL: https://github.com/apache/cloudstack/pull/3519#issuecomment-514608172
 
 
   Example of running this tool on my KVM hypervisor:
   
   <pre>
   root@hv-138-a05-23:~# ./cloudstack-guest-tool s-11-VM --command info|jq
   {
     "network": [
       {
         "ip-addresses": [
           {
             "prefix": 8,
             "ip-address": "127.0.0.1",
             "ip-address-type": "ipv4"
           }
         ],
         "name": "lo",
         "hardware-address": "00:00:00:00:00:00"
       },
       {
         "ip-addresses": [
           {
             "prefix": 16,
             "ip-address": "169.254.242.169",
             "ip-address-type": "ipv4"
           }
         ],
         "name": "eth0",
         "hardware-address": "0e:00:a9:fe:f2:a9"
       },
       {
         "ip-addresses": [
           {
             "prefix": 20,
             "ip-address": "10.100.3.239",
             "ip-address-type": "ipv4"
           }
         ],
         "name": "eth1",
         "hardware-address": "1e:00:05:00:01:e5"
       },
       {
         "ip-addresses": [
           {
             "prefix": 24,
             "ip-address": "185.109.XX.XX",
             "ip-address-type": "ipv4"
           }
         ],
         "name": "eth2",
         "hardware-address": "1e:00:0b:00:00:f5"
       }
     ],
     "filesystem": [
       {
         "mountpoint": "/var",
         "disk": [
           {
             "bus": 0,
             "bus-type": "virtio",
             "target": 0,
             "unit": 0,
             "pci-controller": {
               "slot": 7,
               "bus": 0,
               "domain": 0,
               "function": 0
             }
           }
         ],
         "type": "ext4",
         "name": "vda6"
       },
       {
         "mountpoint": "/boot",
         "disk": [
           {
             "bus": 0,
             "bus-type": "virtio",
             "target": 0,
             "unit": 0,
             "pci-controller": {
               "slot": 7,
               "bus": 0,
               "domain": 0,
               "function": 0
             }
           }
         ],
         "type": "ext2",
         "name": "vda1"
       },
       {
         "mountpoint": "/tmp",
         "disk": [
           {
             "bus": 0,
             "bus-type": "virtio",
             "target": 0,
             "unit": 0,
             "pci-controller": {
               "slot": 7,
               "bus": 0,
               "domain": 0,
               "function": 0
             }
           }
         ],
         "type": "ext4",
         "name": "vda7"
       },
       {
         "mountpoint": "/",
         "disk": [
           {
             "bus": 0,
             "bus-type": "virtio",
             "target": 0,
             "unit": 0,
             "pci-controller": {
               "slot": 7,
               "bus": 0,
               "domain": 0,
               "function": 0
             }
           }
         ],
         "type": "ext4",
         "name": "vda5"
       }
     ]
   }
   root@hv-138-a05-23:~#
   </pre>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to