Merge ~smoser/cloud-init:aliyun-datasource into ~kaihuan-pkh/cloud-init:aliyun-datasource
Proposed by
Scott Moser
Status: | Merged |
---|---|
Approved by: | lawrence peng |
Approved revision: | 1f73d4ed753d0310c4743d82f6666d427cf33ca6 |
Merge reported by: | Scott Moser |
Merged at revision: | 1f73d4ed753d0310c4743d82f6666d427cf33ca6 |
Proposed branch: | ~smoser/cloud-init:aliyun-datasource |
Merge into: | ~kaihuan-pkh/cloud-init:aliyun-datasource |
Diff against target: |
177 lines (+21/-78) 3 files modified
cloudinit/sources/DataSourceAliYun.py (+12/-67) cloudinit/sources/DataSourceEc2.py (+8/-10) tests/unittests/test_datasource/test_aliyun.py (+1/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
lawrence peng | Approve | ||
Review via email: mp+309614@code.launchpad.net |
Description of the change
Hi,
I've made some changes here locally, and they seem to work fine.
For a squashed commit message, i suggest:
AliYun: Add new datasource for Ali-Cloud ECS
Support AliYun(Ali-Cloud ECS). This datasource inherits from EC2,
the main difference is the meta-server address is changed to
100.100.100.200.
The datasource behaves similarly to EC2 and relies on network polling.
As such, it is not enabled by default.
To post a comment you must log in.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
hi smoser,
I have reviewed your changes and run `make test` passed. but I have some questions:
1. how to make this request (https:/ /code.launchpad .net/~smoser/ cloud-init/ +git/cloud- init/+merge/ 309614) merged to my branch automatically ? I found the only one thing I can do is just change the status from 'needs review' to 'approved' or others. If I change the status to 'merged' but nothing happend, so maybe it's not like github ? if I want to do the real merge to my code, what should I do ?
2. my merge request (https:/ /code.launchpad .net/~kaihuan- pkh/cloud- init/+git/ cloud-init/ +merge/ 308483) is now status changed to merged, then I found the master commit is some different with my local branch changes, it added your work; but as question 1 said, my branch is not changed, how it happend ?
3. I found my code not enable DataSourceAliYun by default (it's a mistake), and I wish it could be used like other datasources, so I need add it to cloudinit/ settings. py, if I add it to my local branch, should I merge your commit first ? and what sequence to put 'AliYun' insert into settings. py:datasource_ list ?