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
5a660987e6
feature: keystone support phase 1
2019-05-17 13:53:45 +08:00
Zexi
869b249374
hide some server metadata
2019-04-17 14:28:24 +08:00
Jian Qiu
316335267a
improve server-list performance ( #193 )
...
* improve server-list performance
FetchCustomizeColumns that fetch extra fields for all rows 3. separate
read and write http request session
* update vendor
* update: optimize multi-column indexes
2019-04-03 20:24:28 +08:00
Qiu Jian
004d9b6f95
update copyright headers of all source
2019-03-29 14:47:48 +08:00
Qiu Jian
6e8e415235
Merge branch 'release/2.7.0' of ssh://git.yunion.io/~qiujian/onecloud into hotfix/qj-recode-cloud-account-create-options
2019-03-14 12:11:54 +08:00
Qiu Jian
e74f31b7c0
fix: cleanup project sync codes
2019-03-14 09:46:29 +08:00
Yousong Zhou
8fe4f2ec98
treewide: group imports with goimports
...
./goimports -w -local yunion.io/x/onecloud/ -corp yunion.io/x/ $GOPATH/src/yunion.io/x/onecloud/{cmd,pkg}
2019-03-13 10:46:12 +00:00
Yousong Zhou
c6e4fff0d0
lb: 不记录来自lbagent的GET查询请求
...
要求
- _orig=lbagent
- userCred.HasSystemAdminPrivilege()
2019-03-12 03:39:20 +00:00
李泽玺
3021e37e87
Automatic merge from release/2.5.0 -> release/2.6.0
...
* commit '9d6a769c8b0afe2fc5b9126f749135cf70fcd7ae':
baremetal: host convert failed
fix: recode host convert codes to fix scheduler failure issues
2019-02-13 15:48:21 +08:00
Qiu Jian
924ae176b8
fix: recode host convert codes to fix scheduler failure issues
2019-02-13 14:51:05 +08:00
Qiu Jian
4cd39a70c0
1.
...
增加server-change-ipaddr接口,允许在运行和关机更换主机的IP地址。
2. 允许主机加入一个network多次(目前允许2次)
2019-01-27 00:30:43 +08:00
Qiu Jian
606802b582
修正:1. attach权限校验总是false 2. 增加climc user
...
default_project_id相关方法
2019-01-09 20:49:26 +08:00
Qiu Jian
cd3f46871a
minor fixes
2018-12-27 00:05:57 +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
e18302866b
1. GetShortDesc()改为GetShortDesc(ctx context.Context)
...
2.
VirtualResource的GetShortDesc()中增加owner_tenant_id和owner_tenant两个字段
2018-12-13 23:55:51 +08:00
Qiu Jian
334f3605ba
minor fixes
2018-12-01 00:42:29 +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
d00dd6c42a
Merge branch 'release/2.2.0' of ssh://git.yunion.io/~qiujian/onecloud into hotfix/qj-resolve-conflict-20181109-2.3.0
...
Conflicts:
Gopkg.lock
pkg/cloudcommon/db/modelbase.go
2018-11-09 12:37:21 +08:00
wanyaoqi
721ac4b912
optimize export list
...
make dep
2018-11-09 11:55:31 +08:00
邱剑
918f047cff
Automatic merge from release/2.2.0 -> release/2.3.0
...
* commit '557d28244c144ac079fa3b5e12b2822c8988069a':
support export filter
2018-10-31 19:50:31 +08:00
wanyaoqi
3151e782e9
support export filter
2018-10-31 19:48:10 +08:00
邱剑
926fc3a3dd
Merge pull request #369 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:feature/qj-rbac-support to release/2.3.0
...
* commit '5a8bd4848509782e3ce953e9faae864ee09a0d8b':
改进:rpc支持
make fmt
remove slice nil check
fix quota check rbac check logic
增加 usages get 和 quotas get/update 的RBAC检查
JointModel support
改进:model资源支持rbac认证,需要打开enable_rbac选项,默认关闭。非model资源还不支持
2018-10-29 22:22:31 +08:00
Qiu Jian
d0fef591f1
改进:model资源支持rbac认证,需要打开enable_rbac选项,默认关闭。非model资源还不支持
2018-10-27 14:34:09 +08:00
Zexi Li
2cbf21655d
region: make CustomizeFilterList logically
2018-10-27 14:29:08 +08:00
wanyaoqi
6d21c7e0d2
baremetal ops
...
some bugfix
make dep
2018-10-23 21:01:00 +08:00
Qiu Jian
17175bc0a4
改进:1. 部署VM时注入全局和项目公钥 2. 完善keypair的创建和导入功能 3.
...
其他
2018-10-11 23:04:42 +08:00
邱剑
2855cfbf8a
Automatic merge from release/2.1.0 -> release/2.2.0
...
* commit 'ab8d120580317d802d6a1150c86b91bd0641a341':
server create disk
minor fix
attach detach isolate device
server attach detach network, change bandwidth, some bug fix
guest desc, guest sendkey, fix disk delete
2018-09-14 17:04:39 +08:00
wanyaoqi
f910f6ada7
server attach detach network, change bandwidth, some bug fix
2018-09-14 11:50:22 +08:00
Qiu Jian
1a30516b0f
minor fixes
2018-09-12 01:14:33 +08:00
Qiu Jian
7c795f7975
修正:1. 阿里云主机镜像正确设置Platform后,可以正确初始化密码和蜜钥
...
2.
系统启动默认创建default安全组,主机默认安全组设置为default。defalt安全组默认出入都开放
2018-09-06 15:10:55 +08:00
Zexi Li
22411ffb53
path move: github.com/yunionio -> yunion.io/x
2018-08-11 14:28:18 +08:00
Yousong Zhou
16b80dfefb
cloudcommon: db: make master, slave id explict in joint resource base
2018-08-09 04:32:00 +00:00
Zexi Li
b5275a0c29
- mv mcclient to pkg/mcclient
...
- vendor update
2018-08-01 14:13:23 +08:00
Zexi Li
37624f11e2
Add region service.
2018-07-30 12:27:27 +08:00
Zexi Li
976cc8e640
cloudcommon pkg added.
2018-07-27 19:03:32 +08:00