You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/02/10 06:11:18 UTC

[GitHub] [cloudstack] rhtyd edited a comment on issue #3876: server: use host record related to a ssvm/cpvm

rhtyd edited a comment on issue #3876: server: use host record related to a ssvm/cpvm
URL: https://github.com/apache/cloudstack/pull/3876#issuecomment-583971147
 
 
   API response on fresh zone deployment when VMs are not up:
   ```
       {
         "created": "2020-02-10T11:36:11+0530",
         "dns1": "8.8.8.8",
         "gateway": "172.20.0.1",
         "hostid": "5735265e-cc04-4b97-8e9f-9a78e6d99855",
         "hostname": "monkeybox-centos7-kvm1",
         "hypervisor": "KVM",
         "id": "2e7293a0-d168-46f3-bc29-262ddbf22474",
         "linklocalip": "169.254.58.140",
         "linklocalmacaddress": "0e:00:a9:fe:3a:8c",
         "linklocalnetmask": "255.255.0.0",
         "name": "s-2-VM",
         "podid": "c630a58b-6aa4-4a37-84a0-6cc8d711138b",
         "privateip": "172.20.25.120",
         "privatemacaddress": "1e:00:03:00:00:6f",
         "privatenetmask": "255.255.0.0",
         "publicip": "172.20.20.199",
         "publicmacaddress": "1e:00:81:00:01:7d",
         "publicnetmask": "255.255.0.0",
         "state": "Starting",
         "systemvmtype": "secondarystoragevm",
         "templateid": "d46f0da6-4bca-11ea-bb57-f4d1082409e6",
         "zoneid": "03a01cbf-aea2-4ea9-b2ff-c7c6394fad53",
         "zonename": "KVM-advzone"
       }
   
   ```
   
   On/after connected:
   ```
       {
         "agentstate": "Up",
         "created": "2020-02-10T11:36:11+0530",
         "dns1": "8.8.8.8",
         "gateway": "172.20.0.1",
         "hostid": "5735265e-cc04-4b97-8e9f-9a78e6d99855",
         "hostname": "monkeybox-centos7-kvm1",
         "hypervisor": "KVM",
         "id": "2e7293a0-d168-46f3-bc29-262ddbf22474",
         "linklocalip": "169.254.58.140",
         "linklocalmacaddress": "0e:00:a9:fe:3a:8c",
         "linklocalnetmask": "255.255.0.0",
         "name": "s-2-VM",
         "podid": "c630a58b-6aa4-4a37-84a0-6cc8d711138b",
         "privateip": "172.20.25.120",
         "privatemacaddress": "1e:00:03:00:00:6f",
         "privatenetmask": "255.255.0.0",
         "publicip": "172.20.20.199",
         "publicmacaddress": "1e:00:81:00:01:7d",
         "publicnetmask": "255.255.0.0",
         "state": "Running",
         "systemvmtype": "secondarystoragevm",
         "templateid": "d46f0da6-4bca-11ea-bb57-f4d1082409e6",
         "version": "4.13.1.0-SNAPSHOT",
         "zoneid": "03a01cbf-aea2-4ea9-b2ff-c7c6394fad53",
         "zonename": "KVM-advzone"
       }
   ```
   
   UI also calls a single API now:
   ![Screenshot from 2020-02-10 11-40-36](https://user-images.githubusercontent.com/95203/74125024-3d441280-4bfa-11ea-87a2-808b99d03cdd.png)
   
   Since, this is purely API response change with manual testing, Travis smoketests should be enough.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services