Commit Graph
9126 Commits
Author SHA1 Message Date
Yousong Zhou 5f623cb892 hosts: simplify GetNetworkWithIdAndCredential
By removing unused arg
2020-01-17 17:44:31 +08:00
Yousong Zhou 282da02f9f networks: forbid updating onecloud vpc network 2020-01-17 17:44:31 +08:00
Yousong Zhou d9d343822f networks: validate onecloud vpc subnet
Also rewrite for more readability, especially the part on finding wire,
vpc, region, etc.
2020-01-17 17:44:31 +08:00
Yousong Zhou f194ad7183 vpcs: add method containsIPV4Range() 2020-01-17 17:44:31 +08:00
Yousong Zhou 93c2192b77 vpcs: 自动删除wire 2020-01-17 17:44:29 +08:00
Yousong Zhou 81dc7fd91e networks: auto-create zone wire 2020-01-17 17:41:06 +08:00
Yousong Zhou 0a3c8acbd4 vpcs: 允许为私有云创建vpc 2020-01-17 17:41:06 +08:00
Yousong Zhou e9e8cd1519 models: guard against nil memory access 2020-01-17 17:41:06 +08:00
Yousong Zhou fb682c8e2b mcclient: rename BaseManagerInterface to IBaseManager 2020-01-17 17:41:06 +08:00
Yousong Zhou 5b0f36dbcb mcclient: models: map to db models 2020-01-17 17:41:06 +08:00
Yousong Zhou b5a9625575 esxi: dont import hostman pkgs
Fix building region on darwin
2020-01-17 16:52:11 +08:00
Zexi Li fca1a6d795 Merge pull request #4950 from wanyaoqi/bugfix/wyq/host-deployer-version-up
host deployer base version up
2020-01-17 14:45:34 +08:00
wanyaoqi 72a4c8244d host deployer base version up 2020-01-17 14:42:52 +08:00
Rain 7524141e49 feature(esxiagent): Add Template VM as CachedImage 2020-01-17 14:16:08 +08:00
Qu Xuan 75c22ea603 fix: 修复未赋予keypair scheme值问题 2020-01-17 14:11:08 +08:00
yunion-ci-robot b896ae5ca7 Merge pull request #4935 from yousong/bugfix/yousong-iproute2
netutils2: guard against possible nil members
2020-01-17 13:48:10 +08:00
Qu Xuan 24591ecfab fix: 腾讯云主机带宽跟随eip带宽变化而变化 2020-01-17 13:32:23 +08:00
yunion-ci-robot a4495dd731 Merge pull request #4943 from wanyaoqi/bugfix/wyq/fix-snapshot-filter-by-disk-type
region: fix snapshot list filter by disk type
2020-01-17 12:58:08 +08:00
wanyaoqi fd698314be fix snapshot list filter by disk type 2020-01-17 11:57:04 +08:00
yunion-ci-robot 1c44b51913 Merge pull request #4880 from tb365/bugfix/tb-elb-bugfix-0108
Bugfix/tb elb bugfix 0108
2020-01-17 11:00:09 +08:00
yunion-ci-robot 050c4173a0 Merge pull request #4922 from wanyaoqi/bugfix/wyq/host-misc-fix-0116
host: fix detect host info
2020-01-17 10:55:08 +08:00
yunion-ci-robot ea27a3c029 Merge pull request #4931 from rainzm/bugfix/esxi_copy_image
bugfix(esxiagent): PrefetchImageCacheByCopy & SHost.FileUrlPathToDsPath
2020-01-17 10:54:09 +08:00
Qu Xuan c4f9e47a1b fix: 避免/opt/yunion/tmp目录不存在导致自定义镜像创建azure服务器失败 2020-01-17 10:50:03 +08:00
Rain 5b1c97af58 bugfix(esxiagent): PrefetchImageCacheByCopy & SHost.FileUrlPathToDsPath
1. Fix the bug when preparing remote image by copy
2. SHost.FileUrlPathToDsPath will not work when shost has multiple storage.
2020-01-17 10:39:41 +08:00
zhaoxiangchun 139d2cacee add License Head 2020-01-17 10:28:00 +08:00
yunion-ci-robot e7a3905669 Merge pull request #4926 from ioito/hotfix/qx-cloudevent-list-filter
cloudevent 支持since until参数过滤
2020-01-17 09:20:08 +08:00
yunion-ci-robot 0fa2e68627 Merge pull request #4924 from tb365/bugfix/tb-bugfix-011601
server sku filter by city bugfix
2020-01-17 08:46:07 +08:00
yunion-ci-robot 4aee13b813 Merge pull request #4925 from ioito/feature/qx-batch-perform-uncache-image
fix: 支持批量释放镜像缓存
2020-01-17 08:45:07 +08:00
yunion-ci-robot cd3899eb15 Merge pull request #4428 from tb365/feature/tb-ctyun-operations
ctyun operations
2020-01-16 22:54:08 +08:00
Yousong Zhou 975728bb31 netutils2: guard against possible nil members 2020-01-16 22:48:26 +08:00
Yousong Zhou bd1efb1716 netutils: DefaultSrcIpDev: use iproute2.RouteGetByDst 2020-01-16 22:48:26 +08:00
Yousong Zhou 6f49ceade3 iproute2: add RouteGetByDst() 2020-01-16 22:48:26 +08:00
Yousong Zhou 5d1905aa3c iproute2: test against non-nil dst of routes returned by List4() 2020-01-16 22:48:26 +08:00
Rain bc83e2940a bugfix(esxiagent): PrefetchImageCacheByCopy & SHost.FileUrlPathToDsPath
1. Fix the bug when preparing remote image by copy
2. SHost.FileUrlPathToDsPath will not work when shost has multiple storage.
2020-01-16 22:00:07 +08:00
yunion-ci-robot 5a698a76bd Merge pull request #4933 from rainzm/bugfix/host-deployer_vddk
fix(hostdeployer): Umount VDDKDisk when IRootFsDriver is nil
2020-01-16 21:48:11 +08:00
yunion-ci-robot cab9960d6c Merge pull request #4929 from yousong/bugfix/yousong-iproute2
hostman: replace route command dep with netlink call
2020-01-16 21:24:11 +08:00
Rain ea1e9c75fa fix(hostdeployer): Umount VDDKDisk when IRootFsDriver is nil 2020-01-16 21:19:16 +08:00
Yousong Zhou 167bca1931 hostman: replace route command dep with netlink call 2020-01-16 20:47:50 +08:00
Yousong Zhou 5cd60db1b4 netutils2: replace GetRoutes with netlink call 2020-01-16 20:47:50 +08:00
Yousong Zhou 1a5f6ee0f6 iproute2: route operations 2020-01-16 20:27:55 +08:00
Yousong Zhou 8b5b6bc591 hostman: add secondary addresses with one iproute2 call 2020-01-16 20:27:39 +08:00
Yousong Zhou 697c441acf hostman: up bridge interface in SetupAddresses
Previously it was done implicitly by ifconfig addr config command
2020-01-16 20:27:39 +08:00
Qu Xuan 495214e4c2 cloudevent 支持since until参数过滤 2020-01-16 19:37:55 +08:00
Qu Xuan ad57f66781 fix: 支持批量释放镜像缓存 2020-01-16 19:09:32 +08:00
Yousong Zhou c952693b82 hostman: fix removing addresses on slave ifaces
Previously it was done with "ifconfig xxx 0 up"

Fixes 4d8d20f ("hostman: use package iproute2")
2020-01-16 18:33:03 +08:00
TangBin 9956a04e22 server sku filter by city bugfix 2020-01-16 17:35:19 +08:00
TangBin 8b0f4b6576 ctyun operations 2020-01-16 17:05:20 +08:00
yunion-ci-robot 3e9915523f Merge pull request #4919 from yousong/bugfix/yousong-iproute2
netutils: isolate linux dependent parts
2020-01-16 16:52:08 +08:00
wanyaoqi ea123270b3 fix detect host info 2020-01-16 16:48:15 +08:00
Yousong Zhou 5efeb6fe50 netutils: isolate linux dependent parts 2020-01-16 16:34:49 +08:00