Commit Graph

48 Commits

Author SHA1 Message Date
Qiu Jian
3c9b368c43 feature: fix region list filters round 3 2020-03-12 20:55:22 +08:00
Qiu Jian
cf5498ac24 feature: recode structuralized GetExtraDetails and ListItemFilter 2020-03-04 14:01:25 +08:00
Qu Xuan
366cbd4e36 统一 details -> isList 2020-02-07 17:54:48 +08:00
Qu Xuan
76d974f6d8 feature: api -> response struct 2020-02-03 10:22:44 +08:00
Qiu Jian
eec673e26d fix: add hostinfo to storage cached image details 2019-12-10 21:40:44 +08:00
ioito
6acc24e20a fix max session login issue 2019-07-08 16:25:03 +08:00
Qiu Jian
cd809f1a24 fix: server-disk-list failed on wrong field name 2019-06-03 17:19:27 +08:00
Qiu Jian
b7027934db feature: 3-level policies, system/domain/project 2019-05-31 13:56:02 +08:00
Qiu Jian
a95c0bac62 update query.Count to query.CountWithError 2019-04-23 12:02:35 +08:00
Qiu Jian
29c1fd3855 fix: clearn up codes that impacted by query.Count return value changes 2019-04-23 11:32:16 +08:00
Qiu Jian
da57161fd0 fix: move all consts in compute/models to apis/compute 2019-04-17 09:23:19 +08:00
Qiu Jian
004d9b6f95 update copyright headers of all source 2019-03-29 14:47:48 +08:00
Qiu Jian
62ebc90f2a feature: allow auto sychrnoization of cloud account 2019-03-04 01:09:34 +08:00
邱剑
0edeb53d28 update models with db.Update interface 2019-02-22 12:06:13 +08:00
Qiu Jian
137c0d41df fix: fix issues preventing clean_provider.sh from clean cloud provider
records
2019-02-12 20:40:11 +08:00
Qiu Jian
4cd39a70c0 1.
增加server-change-ipaddr接口,允许在运行和关机更换主机的IP地址。
2. 允许主机加入一个network多次(目前允许2次)
2019-01-27 00:30:43 +08:00
Qiu Jian
9df351b5f9 make fmt import 2019-01-23 00:06:07 +08:00
Qiu Jian
beb2ac66b5 增加:1. 将公有云标准镜像同步到本地 2. 可以从公有云标准镜像创建主机 3.
在公有云缓存镜像时遵守公有云镜像的配额
2019-01-21 09:21:02 +08:00
wanyaoqi
2b4fac6a87 remove key index 2019-01-17 22:07:24 +08:00
Qiu Jian
2e587bd6ab glance重构 update 1
Conflicts:
	Gopkg.lock
	pkg/appsrv/appsrv.go
	pkg/cloudcommon/options.go
	pkg/compute/models/hosts.go
	pkg/compute/models/quotas.go
	pkg/compute/service/service.go
	pkg/mcclient/mcclient.go
2018-12-26 22:52:13 +08:00
Qiu Jian
e1832849de 修正: 1. 阿里云client空指针错误,通过wrapper隐藏 2. clean storage
cached image处理异常情况 3. server purge不能purge带eip的主机
2018-12-24 20:13:05 +08:00
Qiu Jian
46aaba2474 make fmt 2018-12-12 23:24:34 +08:00
wanyaoqi
ecc750107b fix conflict 2018-12-01 16:18:11 +08:00
Qiu Jian
e42f1a7744 recode 2018-12-01 12:05:41 +08:00
Qiu Jian
b4fcb63b64 Remove SInfrastructureManager & SInfrasture 2018-12-01 01:05:13 +08:00
Qiu Jian
bc02b3b433 1.
取消userCred.IsSystemAdmin(),在使用policy的应用中,通过userCred.IsAdminAllow判断是否是管理员且具备相应的权限。获取token时,需要传入policy.FilterPolicyCredential,将普通userCred转换成支持rbac的userCred
2. 在应用启动时候,必须设置 SetServiceType,否则退出
2018-11-30 23:00:11 +08:00
Qiu Jian
94c49ded2e esxi support 2018-11-25 08:21:24 +08:00
邱剑
950c1c6197 Automatic merge from release/2.2.0 -> release/2.3.0
* commit '98552290141f3bc37845b0456776952cb48bcf6c':
  避免因中文问题导致同步时出现相同的Azure资源
2018-10-24 10:43:37 +08:00
邱剑
9855229014 Merge pull request #352 in YUNIONIO/onecloud from ~QUXUAN/onecloud:hotfix/qx-duplicate-azure-resource to release/2.2.0
* commit 'a5be2a406ae5089711d71d9167157b8f753851e6':
  避免因中文问题导致同步时出现相同的Azure资源
2018-10-24 10:43:36 +08:00
屈轩
a5be2a406a 避免因中文问题导致同步时出现相同的Azure资源 2018-10-24 10:33:17 +08:00
Qiu Jian
3792d653f1 minor updates 2018-10-22 17:13:57 +08:00
Qiu Jian
2adec7a792 修正:删除guest时候没有正确清理eip的数据 2018-10-22 15:21:42 +08:00
屈轩
795f5441df security sync 2018-09-19 15:17:18 +08:00
屈轩
224193248f resolve conflict 2018-09-11 16:39:49 +08:00
Zexi Li
090a9c5e86 Merge branch 'release/2.0.0' of ssh://git.yunion.io/~lizexi/onecloud into release/2.1.0 2018-08-11 15:11:24 +08:00
Zexi Li
22411ffb53 path move: github.com/yunionio -> yunion.io/x 2018-08-11 14:28:18 +08:00
Qiu Jian
6d81914119 Merge branch 'release/2.0.0' of ssh://git.yunion.io/~qiujian/onecloud into hotfix/qj-release-2.1.0-conflict-resolve-20180810
Conflicts:
	pkg/cloudcommon/db/taskman/subtasks.go
	pkg/compute/models/guests.go
2018-08-10 12:15:04 +08:00
邱剑
4c2e94ac2b Merge pull request #25 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:hotfix/qj-misc-bugfix-20180808 to release/2.0.0
* commit '1585d24302c5f0bfe28f769ad2aeef86a8afed9c':
  修正:阿里云回收站主机恢复后无系统盘
  修正:1. 删除VPC导致hostwire数据不一致问题 2. 阿里云主机无操作系统信息 3. 其他一些BUGfix
  temp commit
  temporary commit
2018-08-10 11:38:23 +08:00
Yousong Zhou
fd26ec4620 Merge remote-tracking branch 'origin/release/2.0.0' into release/2.1.0 2018-08-10 03:17:25 +00:00
Qiu Jian
f0ec8a563e 修正:1. 删除VPC导致hostwire数据不一致问题 2. 阿里云主机无操作系统信息
3. 其他一些BUGfix
2018-08-09 17:49:17 +08:00
Yousong Zhou
16b80dfefb cloudcommon: db: make master, slave id explict in joint resource base 2018-08-09 04:32:00 +00:00
Qiu Jian
6a876c18c7 Merge branch 'release/2.0.0' of ssh://git.yunion.io/~qiujian/onecloud into hotfix/qj-merge-conflic-20180808 2018-08-08 23:28:08 +08:00
Qiu Jian
b979ce9c45 Update fmt 2018-08-08 00:11:02 +08:00
wanyaoqi
7ff401a5b5 server start. server stop. host drivers and some fix
fix subtask log error
2018-08-01 22:30:01 +08:00
Zexi Li
b5275a0c29 - mv mcclient to pkg/mcclient
- vendor update
2018-08-01 14:13:23 +08:00
Qiu Jian
fcee2de326 修正:1. 由于系统盘大小设置单位未转换,导致阿里云创建主机失败 2.
伪删除阿里云主机后,detach了系统盘,导致主机恢复后无系统盘 3.
修正一些格式错误 4. 补充一些climc命令
2018-07-31 00:42:18 +08:00
Zexi Li
37624f11e2 Add region service. 2018-07-30 12:27:27 +08:00
Zexi Li
8ba5ffe1b4 compute models added. 2018-07-27 20:44:26 +08:00