![Page 1: What is OpenStack DefCore, Altanta Conference](https://reader033.vdocuments.mx/reader033/viewer/2022042714/54b823e54a795940358b4640/html5/thumbnails/1.jpg)
DefCore’s Tempest in a Docker Container (“tcup”)
Core via Crowd Sourcing
DefCore Co-Chairs Rob Hirschfeld Joshua McKenty
![Page 2: What is OpenStack DefCore, Altanta Conference](https://reader033.vdocuments.mx/reader033/viewer/2022042714/54b823e54a795940358b4640/html5/thumbnails/2.jpg)
What is DefCore?
DefCore sets base requirements for all OpenStack
products by defining:
1) designated sections of code, and
2) must-pass tests of capabilities.
These definitions use community resources and
involvement to drive interoperability by creating the
minimum standards for products labeled “OpenStack”.
![Page 3: What is OpenStack DefCore, Altanta Conference](https://reader033.vdocuments.mx/reader033/viewer/2022042714/54b823e54a795940358b4640/html5/thumbnails/3.jpg)
DefCore = Commercial Use
Uses of the OpenStack mark: 1. Community (non-commercial use) 2. Code (integrated release) 3. Commerce (products and services)
DefCore covers #3 only!
![Page 4: What is OpenStack DefCore, Altanta Conference](https://reader033.vdocuments.mx/reader033/viewer/2022042714/54b823e54a795940358b4640/html5/thumbnails/4.jpg)
Overview: How do we do this?
One Committee, with- 10 Principles- 12 Criteria- 75 Capabilities (and growing)- 1 Scoring Matrix (per release)
![Page 5: What is OpenStack DefCore, Altanta Conference](https://reader033.vdocuments.mx/reader033/viewer/2022042714/54b823e54a795940358b4640/html5/thumbnails/5.jpg)
Not whole projects!Core defined by testsdescribing capabilitiesSo...Projects must have testsCore = parts of projects
Not your mother’s core
![Page 6: What is OpenStack DefCore, Altanta Conference](https://reader033.vdocuments.mx/reader033/viewer/2022042714/54b823e54a795940358b4640/html5/thumbnails/6.jpg)
DefCore Principles
![Page 7: What is OpenStack DefCore, Altanta Conference](https://reader033.vdocuments.mx/reader033/viewer/2022042714/54b823e54a795940358b4640/html5/thumbnails/7.jpg)
Core = Tests+Designated Code
![Page 8: What is OpenStack DefCore, Altanta Conference](https://reader033.vdocuments.mx/reader033/viewer/2022042714/54b823e54a795940358b4640/html5/thumbnails/8.jpg)
12 Criteria
![Page 9: What is OpenStack DefCore, Altanta Conference](https://reader033.vdocuments.mx/reader033/viewer/2022042714/54b823e54a795940358b4640/html5/thumbnails/9.jpg)
Capabilities
Capabilities = Groups of API Tests, e.g.:"block-snapshots" :test_snapshot_create_get_list_update_delete,test_volume_from_snapshot
![Page 10: What is OpenStack DefCore, Altanta Conference](https://reader033.vdocuments.mx/reader033/viewer/2022042714/54b823e54a795940358b4640/html5/thumbnails/10.jpg)
Capabilities Scoring Matrix
Capabilities << TestsScore max 100Non-Admin APIScored per Release Preliminary Havana Enforced for Juno
![Page 11: What is OpenStack DefCore, Altanta Conference](https://reader033.vdocuments.mx/reader033/viewer/2022042714/54b823e54a795940358b4640/html5/thumbnails/11.jpg)
Community Feedback
DefCore Depends on Usage Data!
1. Users2. Tools3. Clients
![Page 12: What is OpenStack DefCore, Altanta Conference](https://reader033.vdocuments.mx/reader033/viewer/2022042714/54b823e54a795940358b4640/html5/thumbnails/12.jpg)
Some Examples
![Page 13: What is OpenStack DefCore, Altanta Conference](https://reader033.vdocuments.mx/reader033/viewer/2022042714/54b823e54a795940358b4640/html5/thumbnails/13.jpg)
Case 1: BananaCloud
Example Public Cloud
“mostly” using OpenStackActive in community
“OpenStack Powered”
![Page 14: What is OpenStack DefCore, Altanta Conference](https://reader033.vdocuments.mx/reader033/viewer/2022042714/54b823e54a795940358b4640/html5/thumbnails/14.jpg)
Case 2: SpRocket
Example Private Cloud
“heavily” using OpenStackadd missing core featureSpecialized code base, ok
“OpenStack Powered”
![Page 15: What is OpenStack DefCore, Altanta Conference](https://reader033.vdocuments.mx/reader033/viewer/2022042714/54b823e54a795940358b4640/html5/thumbnails/15.jpg)
Case 3: “Mist” API Client“OpenStack Compatible”
No Impact from DefCore, but…
1. should share their API use2. add tests for untested APIs3. reconsider non-must-pass
![Page 16: What is OpenStack DefCore, Altanta Conference](https://reader033.vdocuments.mx/reader033/viewer/2022042714/54b823e54a795940358b4640/html5/thumbnails/16.jpg)
Tools: RefStack and TCUP
![Page 17: What is OpenStack DefCore, Altanta Conference](https://reader033.vdocuments.mx/reader033/viewer/2022042714/54b823e54a795940358b4640/html5/thumbnails/17.jpg)
Refstack, the Site
Community Interop Portal
Collects Test ResultsShows ComplianceAllows Comparison
![Page 18: What is OpenStack DefCore, Altanta Conference](https://reader033.vdocuments.mx/reader033/viewer/2022042714/54b823e54a795940358b4640/html5/thumbnails/18.jpg)
Refstack, the Project
Primary Use: Runs the Public SiteSecondarily: Can be setup as private test collector for QA team
note: Does not use or require Docker!
![Page 19: What is OpenStack DefCore, Altanta Conference](https://reader033.vdocuments.mx/reader033/viewer/2022042714/54b823e54a795940358b4640/html5/thumbnails/19.jpg)
Why TCUP?
Goal: Make Tempest accessible
TCUP is for people who DON’T codeTo run from desktops inside firewallsWith minimal setup and configurationThis minimizes community support required
![Page 20: What is OpenStack DefCore, Altanta Conference](https://reader033.vdocuments.mx/reader033/viewer/2022042714/54b823e54a795940358b4640/html5/thumbnails/20.jpg)
How TCUP Works
1. download2. set creds3. run
then TCUP doesthe rest
![Page 21: What is OpenStack DefCore, Altanta Conference](https://reader033.vdocuments.mx/reader033/viewer/2022042714/54b823e54a795940358b4640/html5/thumbnails/21.jpg)
TCUP Demo
ssh me@linuxbox$ wget tcup.py$ source openrc.sh$ python tcup.py
sip & enjoy http://www.startrek.com/article/one-trek-mind-8-drink-for-thought
![Page 22: What is OpenStack DefCore, Altanta Conference](https://reader033.vdocuments.mx/reader033/viewer/2022042714/54b823e54a795940358b4640/html5/thumbnails/22.jpg)
Call to Action!
We need YOUR HELPReview the Havana CoreHelp designate sectionsParticipate in RefstackRun TCUP on your cloudRock us some +1s!
![Page 23: What is OpenStack DefCore, Altanta Conference](https://reader033.vdocuments.mx/reader033/viewer/2022042714/54b823e54a795940358b4640/html5/thumbnails/23.jpg)
References
RefStack Wiki: https://wiki.openstack.org/wiki/RefStack
DefCore Wiki: https://wiki.openstack.org/wiki/Governance/DefCoreCommittee
RefStack: https://github.com/stackforge/refstack