perf: asset xpack (#9234)

Co-authored-by: feng <1304903146@qq.com>
pull/9235/head
fit2bot 2022-12-22 13:50:22 +08:00 committed by GitHub
parent a377317d6e
commit 1de51a2bfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 3 deletions

View File

@ -52,4 +52,6 @@ class CloudTypes(BaseType):
@classmethod @classmethod
def get_community_types(cls): def get_community_types(cls):
return [cls.K8S] return [
cls.K8S, cls.PUBLIC, cls.PRIVATE
]

View File

@ -55,4 +55,6 @@ class DeviceTypes(BaseType):
@classmethod @classmethod
def get_community_types(cls): def get_community_types(cls):
return [] return [
cls.GENERAL, cls.SWITCH, cls.ROUTER, cls.FIREWALL
]

View File

@ -47,4 +47,6 @@ class WebTypes(BaseType):
@classmethod @classmethod
def get_community_types(cls): def get_community_types(cls):
return [] return [
cls.WEBSITE,
]