skyline/test/e2e/support/constants.js
xusongfu 3b2144c39d test: Add zun e2e test
1. create zun container test
2. start zun container test
3. pause zun container test
4. unpause zun container test
5. reboot zun container test
6. stop zun container test
7. delete zun container test
8. create zun capsule test
9. delete zun capsule test

Change-Id: If291bbfd1dde4a73b5e14c171e3bb885d687f480
2022-06-08 18:48:07 +08:00

95 lines
3.2 KiB
JavaScript

// Copyright 2021 99cloud
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// compute
export const instanceListUrl = '/compute/instance';
export const keypairListUrl = '/compute/keypair';
export const serverGroupListUrl = '/compute/server-group';
export const imageListUrl = '/compute/image';
export const imageListUrlAdmin = '/compute/image-admin';
export const aggregateListUrl = '/compute/aggregates-admin';
export const hypervisorListUrl = '/compute/hypervisors-admin';
export const flavorListUrl = '/compute/flavor-admin';
export const bareMetalListUrl = '/compute/baremetal-node-admin';
// storage
export const volumeListUrl = '/storage/volume';
export const volumeSnapshotListUrl = '/storage/snapshot';
export const backupListUrl = '/storage/backup';
export const volumeTypeListUrl = '/storage/volume-type-admin';
export const storageBackendListUrl = '/storage/storage-admin';
export const containerListUrl = '/storage/container';
// network
export const networkListUrl = '/network/networks';
export const routerListUrl = '/network/router';
export const policyListUrl = '/network/qos-policy-admin';
export const fipListUrl = '/network/floatingip';
export const virtualAdapterListUrl = '/network/virtual_adapter';
export const vpnListUrl = '/network/vpn';
export const lbListUrl = '/network/load-balancers';
export const topologyUrl = '/network/topo';
export const securityGroupListUrl = '/network/security-group';
// management
export const recycleBinListUrl = '/management/recycle-bin';
export const eventListUrl = '/management/events';
// identity
export const projectListUrl = '/identity/project-admin';
export const userListUrl = '/identity/user-admin';
export const userGroupListUrl = '/identity/user-group-admin';
export const roleListUrl = '/identity/role-admin';
export const domainListUrl = '/identity/domain-admin';
// configuration
export const metadataListUrl = '/configuration-admin/metadata';
export const infoListUrl = '/configuration-admin/info';
export const settingUrl = '/configuration-admin/setting';
// stack
export const stackListUrl = '/heat/stack';
// zun
export const zunContainerListUrl = '/container/containers';
export const zunCapsuleListUrl = '/container/capsules';
export default {
// compute
instance: instanceListUrl,
image: imageListUrl,
flavor: flavorListUrl,
// storage
volume: volumeListUrl,
volumeSnapshot: volumeSnapshotListUrl,
backup: backupListUrl,
volumeType: volumeTypeListUrl,
// network
network: networkListUrl,
router: routerListUrl,
networkQosPolicy: policyListUrl,
fip: fipListUrl,
virtualAdapter: virtualAdapterListUrl,
// security
securityGroup: securityGroupListUrl,
// identity
project: projectListUrl,
user: userListUrl,
userGroup: userGroupListUrl,
};