Documentation ¶
Index ¶
Constants ¶
View Source
const ( PaaSTenantAdminDefaultUUID = "admin" DefaultProviderPhysicalNetwork = "physnet0" DefaultProviderNetworkType = "vlan" ProviderNetworkTypeVlan = "vlan" VlanTransparentSegmentationID = "0" MinVlanID = 1 MaxVlanID = 4095 NetworkNotFound = "NetworkNotFound" NetworkInUse = "NetworkInUse" // todo noauth delete network should return body in future to remove this const string NoauthNetworkInUse = "Iaas return code 409" // embedded-server error string OverlayNetworkInUse = "Exist-port-on-subnet" GetRestoreStateRetryTimes = 30 GetLoadReourceRetryIntervalInSec = 5 NetworkStatActive = "ACTIVE" NetworkStatDown = "DOWN" DefaultIaasTenantID = "defaultt_iaas_tenentid" DefaultIaasTenantName = "default_iaas_tenent_name" ErrOfIaasInterfaceNil = "Iaas Interface is nil" ErrOfIaasTenantNotExist = "Iaas Tenent is not exist" TestPaasTenantID = "paas-admin" DefaultPaaSNetwork = "net_api" DefaultPaaSCidr = "192.168.0.0/16" )
View Source
const ( RestoreProgressStatProcessFail = -1 RestoreProgressStatProcessing = 0 RestoreProgressStatProcessSucc = 1 )
const defined for restore state
View Source
const ( OwnerTypePod = "Pod" OwnerTypeNode = "Node" OwnerTypePaaSComponent = "PaaSComponent" )
View Source
const ( StrConstTrue = "true" StrConstFalse = "false" )
View Source
const ( KnitterJSONPath = "/opt/cni/manager/knitter.json" TECS = "TECS" EMBEDDED = "EMBEDDED" VNM = "vNM" VNFM = "VNFM" )
View Source
const ( //paas.json ResultSuccess = "00000001" ResultFail = "00000002" RiskLevelHigh = "00000011" RiskLevelMedium = "00000012" RiskLevellow = "00000013" OperationTypeApplication = "00000021" OperationTypeNode = "00000022" OperationTypeProject = "00000023" ActionTypeCreate = "00000101" ActionTypeDelete = "00000102" ActionTypeUpdate = "00000103" ActionTypeQuery = "00000104" OperationTypeNetworkData = "07000001" OperationTypeConfigurations = "07000002" OperationTypeGateway = "07000003" OperationTypeIpgroup = "07000004" OperationTypeNetwork = "07000005" OperationTypePhysnet = "07000006" OperationTypeTenant = "07000007" //todo OperationDescriptionBackup = "07001001" OperationDescriptionRestore = "07001002" OperationDescriptionInjectionConfiguration = "07001003" OperationDescriptionInitConfiguration = "07001004" OperationDescriptionUpdateGatewayInformation = "07001005" OperationDescriptionCreateIpgroup = "07001006" OperationDescriptionUpdateIpgroup = "07001007" OperationDescriptionDeleteIpgroup = "07001008" OperationDescriptionCreateNetwork = "07001009" OperationDescriptionDeleteNetwork = "07001010" OperationDescriptionUpdatePhysicalNetwork = "07001011" OperationDescriptionCreateTenant = "07001012" OperationDescriptionDeleteTenant = "07001013" OperationDescriptionUpdateTenantQuota = "07001014" )
operation log report
View Source
const (
IpsTypeIpgroup = "ipgroup"
)
View Source
const (
LogicalPortDefaultVnicType = "normal"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.