Skip to content

Commit f9f3ffe

Browse files
committed
Add scheme with only our tests for PCF
This scheme will allow to check these tests quickly (i.e. without other tempest tests)
1 parent 4ed877f commit f9f3ffe

File tree

1 file changed

+140
-0
lines changed

1 file changed

+140
-0
lines changed

pcf-only.json

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
{
2+
"id": "2016.01",
3+
"schema": "1.5",
4+
"reference": "https://git.openstack.org/cgit/andrey-mp/defcore/schema/1.5.rst",
5+
"source": "http://git.openstack.org/cgit/cloudscaling/defcore/",
6+
"status": "draft",
7+
"replaces": "",
8+
"releases": ["juno", "kilo", "liberty"],
9+
"target_programs": {
10+
"pcfOnly": {
11+
"description": "Pivotal Cloud Foundry",
12+
"required": ["pcf"],
13+
"advisory": [],
14+
"deprecated": [],
15+
"removed": []
16+
}
17+
},
18+
"components": {
19+
"pcf": {
20+
"required": [
21+
"pcf",
22+
],
23+
"advisory": [],
24+
"deprecated": [],
25+
"removed": []
26+
}
27+
},
28+
"test-repositories": {
29+
"tempest": {
30+
"git-sha": "master",
31+
"url": "https://git.openstack.org/cgit/openstack/tempest/"
32+
}
33+
},
34+
"capabilities": {
35+
"pcf": {
36+
"achievements": [],
37+
"admin": false,
38+
"description": "Tests specific requirements for deploying Pivotal Cloud Foundry on OpenStack",
39+
"project": "pcftests",
40+
"required-since": "",
41+
"tests": {
42+
"pcftests.tests.test_flavors.FlavorTest.test_flavor_create": {},
43+
"pcftests.tests.test_hypervisor.HypervisorTest.test_get_hypervisor_type": {},
44+
"pcftests.tests.test_images.ImagesTest.test_image_create": {},
45+
"pcftests.tests.test_jumpbox_connectivity.JumpboxIpsTest.test_connectivity_to_endpoints": {},
46+
"pcftests.tests.test_jumpbox_connectivity.JumpboxIpsTest.test_connectivity_to_internet": {},
47+
"pcftests.tests.test_quotas.QuotasTest.test_quotas": {},
48+
"pcftests.tests.test_security_groups.SecurityGroupsTest.test_create_security_groups": {},
49+
"pcftests.tests.test_vms_connectivity.VmsIpsTest.test_connectivity_between_vms": {}
50+
}
51+
}
52+
},
53+
"designated-sections" : {
54+
"required" : {
55+
"nova" : {
56+
"guidance": "By default, designated except scheduler, filter, drivers, API extensions and networking.",
57+
"comment": "All code except driver/plugins listed. Even for replaceable drivers or plugins, we still expect use of the existing nova service that wraps those interfaces.",
58+
"sections": {
59+
"scheduler driver": { "description": "(Host and cell)", "designated": false, "comment": "none provided"},
60+
"filter scheduler driver": { "description": "(Host and cell) While the line above implies the entire driver is fair game, this case is incredibly common and worth mentioning specifically.", "designated": false, "comment": "none provided"},
61+
"compute driver": { "description": "not provided", "designated": false, "comment": "none provided"},
62+
"rest api extensions": { "description": "may be required for capabilities", "designated": false, "comment": "none provided"},
63+
"nova networking components": { "description": "not provided", "designated": false, "comment": "none provided"},
64+
"nova networking drivers": { "description": "not provided", "designated": false, "comment": "none provided"}
65+
}
66+
},
67+
"keystone" : {
68+
"guidance": "Designation is outlined per API grouping. Identity (user and group) management APIs will not be designated. API access (with exception of auth) may be prohibited by policy (resulting in HTTP 403). Designated APIs include both v2.0 and v3 versions where applicable.",
69+
"comment": "Specific Drivers/Plugins and Identity management code are not designated as many deployments have custom drivers and/or read-only, federated, or externally managed Identity information.",
70+
"sections": {
71+
"assignment API": {"description": "APIs for managing roles and assignment of roles to user(s)/group(s) for a given scope", "designated": true, "comment": "Some functionality for v2.0 is provided via the 'admin_crud' extension"},
72+
"auth (v2.0) API": {"description": "'/v2.0/tokens' APIs used for v2.0 authentication and token validation/revocation/signing certificates (when PKI tokens are in use)", "designated": true, "comment": "This includes the catalog data provided as part of the token body."},
73+
"auth (v3) API": {"description": "'/v3/auth' APIs used for v3 authentication and token validation/revocation", "designated": true, "comment": "This includes the catalog data provided as part of the token body and '/v3/auth/catalog'."},
74+
"catalog API": {"description": "APIs for managing services, endpoints, and regions", "designated": false, "comment": "Catalog API is not designated due to the support of template catalog driver which cannot be updated via REST calls. The catalog in the token is considered part of the AUTH APIs."},
75+
"credential API": {"description": "APIs for managing user credentials", "designated": false, "comment": "none provided"},
76+
"drivers": {"description": "specific implementations for the keystone API backends (e.g. SQL, LDAP, etc)", "designated": false, "comment": "none provided"},
77+
"ec2 API": {"description": "APIs for managing and utilizing ec2-style credentials", "designated": false, "comment": "May be required for some OpenStack features in non-keystone services"},
78+
"federation API": {"description": "APIs for managing and consuming federated identity", "designated": false, "comment": "none provided"},
79+
"identity API": {"description": "APIs for managing user(s) and group(s) in a read/write identity store", "designated": false, "comment": "Some functionality for v2.0 is provided via the 'admin_crud' and 'user_crud' extensions"},
80+
"notifications": {"description": "CADF notifications for events (authentication, creation of resources, etc)", "designated": false, "comment": "Highly recommended and may be required for some features of OpenStack"},
81+
"policy API": {"description": "APIs for managing centralized policy.json distribution for OpenStack services", "designated": false, "comment": "none provided"},
82+
"trust API": {"description": "APIs for managing delegation (via trusts) of roles from one user/group to another user/group", "designated": true, "comment": "none provided"},
83+
"resource API": {"description": "APIs for managing resources (projects/tenants and/or domains)", "designated": true, "comment": "In the releases prior to Kilo this is covered by the assignment API"},
84+
"revoke API": {"description": "APIs for revocation event handling", "designated": false, "comment": "Highly recommended and required for Fernet (non-persistent) tokens"}
85+
86+
}
87+
},
88+
"glance": {
89+
"guidance": "Designated sections are the API implementation code and domain model.",
90+
"comment": "not given",
91+
"sections": {
92+
"http apis": { "description": "not provided", "designated": true, "comment": "API"},
93+
"domain model": { "description": "not provided", "designated": true, "comment": "Shared"},
94+
"stores": { "description": "the swift, filesystem, and http stores", "designated": false, "comment": "should be replaceable, vendor-specificddCross platform"},
95+
"db driver": { "description": "not provided", "designated": false, "comment": "should be replaceable" },
96+
"wsgi framework": { "description": "not provided", "designated": false, "comment": "should be replaceable"}
97+
}
98+
},
99+
"cinder": {
100+
"guidance": "Designated sections are the API implementation code",
101+
"comment": "Historically, cinder has had plug-ins around schedulers and drivers.",
102+
"sections": {
103+
"api": { "description": "API section means actually the CODE that exposes the API, not just API-comparability", "designated": true, "comment": ""},
104+
"drivers": { "description": "not provided", "designated": false, "comment": "there MUST be requirements that it implements what's defined as core functionality in the Cinder API"},
105+
"scheduler": { "description": "not provided", "designated": false, "comment": "there MUST be requirements that it implements what's defined as core functionality in the Cinder API"},
106+
"api extensions": { "description": "not provided", "designated": false, "comment": "should be replaceable"}
107+
}
108+
},
109+
"neutron" : {
110+
"guidance": "By default, designated for all code backing required capabilities except plugable components such as plugins, drivers, and API extensions other than those listed below.",
111+
"required": false,
112+
"comment": "Intentionally replaceable code such as network plugins, ML2 drivers, IPAM drivers, schedulers are not designated.",
113+
"sections": {
114+
"Scheduler drivers": { "description": "Scheduler drivers", "designated": false, "comment": "none provided"},
115+
"IPAM drivers": { "description": "IPAM drivers", "designated": false, "comment": "none provided"},
116+
"Network plugins": { "description": "Network backend plugins", "designated": false, "comment": "none provided"},
117+
"ML2 drivers": { "description": "ML2 type and mechanism drivers", "designated": false, "comment": "none provided"},
118+
"Core API and server": { "description": "Core API and server", "designated": true, "comment": "none provided"},
119+
"Core API quota extension": { "description": "Quota API", "designated": true, "comment": "none provided"},
120+
"Core API security group extension": { "description": "Security group API", "designated": true, "comment": "none provided"},
121+
"Core API L3 extension": { "description": "L3 API for floating IPs and routers", "designated": true, "comment": "none provided"},
122+
"Agents": { "description": "Agents if used by relevant driver", "designated": true, "comment": "Some drivers require the use of community-developed agents to provide required Capabilities (such as L3 networking). If a product uses such agents, they are designated."},
123+
"RPC": { "description": "RPC API", "designated": true, "comment": "none provided"}
124+
}
125+
}
126+
},
127+
"advisory" : {},
128+
"deprecated" : {},
129+
"removed" : {},
130+
"informational" : {
131+
"pcftests" : {
132+
"guidance": "Not a core capability, no position at this time",
133+
"required": false,
134+
"comment": "no comments.",
135+
"sections": []
136+
}
137+
}
138+
},
139+
"criteria": {}
140+
}

0 commit comments

Comments
 (0)