Commit Graph
21 Commits
Author SHA1 Message Date
Yousong Zhou c2bca8ab39 Feature/yousong text (#7487)
* notify: log with context info

* region: guests: log with context info

* region: hosts: log with context info

* region: misc: remove redundant log

* region: skus: use NewInternalServerError instead of NewGeneralError

* appsrv: dispatcher: preserve text id

* appsrv: dispatcher: remove commented-out code

* cloudcommon: db_dispatcher: note errors that won't be translated

* cloudcommon: db: rbac: preserve text id

* cloudcommon: caller: preserve text id

* treewide: fix fmt string

* region: guest_actions: preserve text id

* region: guest_actions: fix fmt string

* region: usages: fix fmt string

* mcclient: hosts: remove redundant return value

* cloudcommon: fetch: preserve text id

* region: guest_template: preserve text id

* cloudcommon: db: db_dispatcher: preserve text id

* region: guest_actions: preserve text id

* httperrors: add funcs for wrap lang tag into context

* vendor: golang.org/x/text

* httperrors: error with context

* httperrors: HTTPError

* treewide: fix typo

* treewide: use en in source code

* locales: initial version
2020-08-25 15:26:31 +08:00
Qu Xuan 9bb4eb5d44 fix: manager_id资源隔离获取 2020-07-02 10:17:38 +08:00
Qu Xuan 4794b1606a fix: 支持同步project标签到本地资源 2020-06-23 17:46:21 +08:00
Zexi Li 9f4d4a450e refactor ITableSpec signature with context 2020-06-08 11:31:00 +08:00
Qiu Jian 732dcdcb61 feature: system resource domainize 2020-03-27 01:20:29 +08:00
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
Rain 762fcd90cf fix: Fix the bug introduced by pr #4921
1. The display problem of contact and notification in notify.
2. The display problem of snat's network info.
2020-02-11 16:49:36 +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 45849355e6 fix: list documentation improvements 2020-01-14 04:17:15 +08:00
Qiu Jian 14c1ddaccb feature: cloudprovider capability filter and listinput recode 2020-01-13 13:19:47 +08:00
Rain 027a14fcef fix: shoule purge snat table and dnat table when sync remove local
natgateway; nat rule's 'real_name'.
2019-10-25 11:47:18 +08:00
Rain 07dc073b14 Bugfix: add the operation log of natgateway; display correctly multiple
eip of snat rule in huawei cloud; bind ip to natgateway automatically
when creating nat rule in aliyun cloud and try to unbind when deleting; fill
or unfill the fields AssociateType, AssociateId when creating or
deleting nat rule in huawei cloud; add SNatEntry and SNatEntryManager
which has common field and function of SNat and DNat.
2019-10-22 15:20:13 +08:00
Rain 3211230a86 add interface fetch resources of snats and dnats
snat network show

check sourcecidr is available when creating snat

add natgateway, snattable, dnattable to compute system resources
2019-09-07 18:48:35 +08:00
Rain f88b682ce3 natgateway bugfix
only one of that snat source cidr and networkid is needed

eip auto bind natgateway when not in aliyun
2019-08-30 15:09:39 +08:00
Rain 87e57c36a0 nat delele should overvide Delete() and call RealDelete() after delete cloud resource successfully 2019-08-21 11:13:45 +08:00
Rain f93dc85417 nat create delete restful api finished 2019-08-06 10:54:36 +08:00
Qiu Jian ae7eb04dcb s3gateway revise 2019-07-24 22:07:15 +08:00
Qiu Jian 93b8bac5bb s3gateway round 2 2019-07-24 21:28:41 +08:00
Rain c7d0971dc9 make sure that one snat/dnat rule named Entry and several snat/dnat rules named Table 2019-07-24 17:43:11 +08:00