Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

types: aquilon: add new structure_entitlements in the system parameters #189

Merged
merged 1 commit into from
Dec 10, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions quattor/types/aquilon/system.pan
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,20 @@ type structure_security = {
"svcwhitelist" ? list
};

type structure_entitlement_user = {
"type" : string
"value" : valid_user
};

type structure_entitlement_eon_id = {
"value" : long
};

type structure_entitlements = {
"eon_id" ? structure_entitlement_eon_id[]
"user" ? structure_entitlement_user[]
};

# All resources in this structure must be optional so that the
# schema can be used by non Aquilon sites
type structure_system_aquilon = {
Expand All @@ -164,6 +178,7 @@ type structure_system_aquilon = {
"eon_ids" ? long[]
"eon_id_maps" ? nlist
"owner_eon_id" ? long
"entitlements" ? structure_entitlements{}
"provides" ? nlist
"services" ? structure_services{}
"personality" ? structure_personality
Expand Down