-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Mario Vazquez <[email protected]>
- Loading branch information
Showing
22 changed files
with
271 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 1 addition & 42 deletions
43
lab-materials/hub-config/operators-config/04_aap_config.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
lab-materials/lab-env-data/aap2/config-files/Lab/credentials/3_Gitea Credentials.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
controller_credentials: | ||
- name: "Gitea Credentials" | ||
description: "" | ||
credential_type: "Source Control" | ||
organization: "Lab" | ||
inputs: | ||
password: "{{ gitea_pwd }}" | ||
username: "{{ gitea_user }}" | ||
|
||
... |
10 changes: 10 additions & 0 deletions
10
lab-materials/lab-env-data/aap2/config-files/Lab/credentials/6_HUB Cluster Kubeconfig.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
controller_credentials: | ||
- name: "HUB Cluster Kubeconfig" | ||
description: "" | ||
credential_type: "Kubeconfig" | ||
organization: "Lab" | ||
inputs: | ||
kube_config: "{{ hub_kubeconfig_file_content }}" | ||
|
||
... |
13 changes: 13 additions & 0 deletions
13
...materials/lab-env-data/aap2/config-files/Lab/credentials/8_Lab Disconnected Registry.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
controller_credentials: | ||
- name: "Lab Disconnected Registry" | ||
description: "" | ||
credential_type: "Container Registry" | ||
organization: "Lab" | ||
inputs: | ||
host: "{{ disconnected_registry_host }}" | ||
password: "{{ disconnected_registry_pwd }}" | ||
username: "{{ disconnected_registry_user }}" | ||
verify_ssl: false | ||
|
||
... |
5 changes: 5 additions & 0 deletions
5
lab-materials/lab-env-data/aap2/config-files/Lab/current_organization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
controller_organizations: | ||
- name: "Lab" | ||
description: "Organization for the 5G RAN Lab" | ||
... |
8 changes: 8 additions & 0 deletions
8
...terials/lab-env-data/aap2/config-files/Lab/inventories/Lab Inventory/2_Lab Inventory.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
controller_inventories: | ||
- name: "Lab Inventory" | ||
description: "" | ||
organization: "Lab" | ||
variables: | ||
ansible_python_interpreter: /usr/bin/python3.9 | ||
... |
13 changes: 13 additions & 0 deletions
13
...b-env-data/aap2/config-files/Lab/inventories/Lab Inventory/current_inventory_sources.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
controller_inventory_sources: | ||
- name: "ACM Lab Inventory Source" | ||
description: "" | ||
organization: "Lab" | ||
source: "scm" | ||
source_project: "5G RAN Lab Project" | ||
source_path: "{{ inventory_source_path }}" | ||
inventory: "Lab Inventory" | ||
update_on_launch: "False" | ||
overwrite: "True" | ||
credential: "HUB Cluster Kubeconfig" | ||
... |
9 changes: 9 additions & 0 deletions
9
...lab-env-data/aap2/config-files/Lab/inventories/ZTP Done Clusters/3_ZTP Done Clusters.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
controller_inventories: | ||
- name: "ZTP Done Clusters" | ||
description: "" | ||
organization: "Lab" | ||
kind: "constructed" | ||
variables: | ||
ansible_python_interpreter: /usr/bin/python3.9 | ||
... |
61 changes: 61 additions & 0 deletions
61
...ials/lab-env-data/aap2/config-files/Lab/inventories/ZTP Done Clusters/current_groups.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
--- | ||
controller_groups: | ||
- name: "all-managed-clusters" | ||
description: "imported" | ||
inventory: "ZTP Done Clusters" | ||
variables: | ||
{} | ||
hosts: | ||
- sno1 | ||
- sno2 | ||
- name: "all-ztp-done-clusters" | ||
description: "imported" | ||
inventory: "ZTP Done Clusters" | ||
variables: | ||
{} | ||
hosts: | ||
- sno1 | ||
- sno2 | ||
- name: "amazon" | ||
description: "imported" | ||
inventory: "ZTP Done Clusters" | ||
variables: | ||
{} | ||
hosts: | ||
[] | ||
- name: "azure" | ||
description: "imported" | ||
inventory: "ZTP Done Clusters" | ||
variables: | ||
{} | ||
hosts: | ||
[] | ||
- name: "baremetal" | ||
description: "imported" | ||
inventory: "ZTP Done Clusters" | ||
variables: | ||
{} | ||
hosts: | ||
[] | ||
- name: "hub" | ||
description: "imported" | ||
inventory: "ZTP Done Clusters" | ||
variables: | ||
{} | ||
hosts: | ||
[] | ||
- name: "kind-clusters" | ||
description: "imported" | ||
inventory: "ZTP Done Clusters" | ||
variables: | ||
{} | ||
hosts: | ||
[] | ||
- name: "vmware" | ||
description: "imported" | ||
inventory: "ZTP Done Clusters" | ||
variables: | ||
{} | ||
hosts: | ||
[] | ||
... |
3 changes: 3 additions & 0 deletions
3
...rials/lab-env-data/aap2/config-files/Lab/inventories/ZTP Done Clusters/current_hosts.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
controller_hosts: | ||
... |
24 changes: 24 additions & 0 deletions
24
lab-materials/lab-env-data/aap2/config-files/Lab/job_templates/10_ZTP Done Automation.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
controller_templates: | ||
- name: "ZTP Done Automation" | ||
description: "" | ||
organization: "Lab" | ||
project: "5G RAN Lab Project" | ||
inventory: "ZTP Done Clusters" | ||
playbook: "{{ playbook_source_path }}" | ||
job_type: "run" | ||
fact_caching_enabled: "False" | ||
credentials: | ||
- "HUB Cluster Kubeconfig" | ||
concurrent_jobs_enabled: "False" | ||
ask_scm_branch_on_launch: "False" | ||
ask_tags_on_launch: "False" | ||
ask_verbosity_on_launch: "False" | ||
ask_variables_on_launch: "False" | ||
extra_vars: | ||
namespace_to_add: ztp-day2-automation-with-aap | ||
state: present | ||
execution_environment: "5G RAN Lab" | ||
survey_enabled: False | ||
survey_spec: {} | ||
... |
16 changes: 16 additions & 0 deletions
16
lab-materials/lab-env-data/aap2/config-files/Lab/projects/8_5G RAN Lab Project.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
controller_projects: | ||
- name: "5G RAN Lab Project" | ||
description: "" | ||
organization: "Lab" | ||
scm_type: "git" | ||
scm_url: "{{ aap_repository_url }}" | ||
scm_credential: "Gitea Credentials" | ||
scm_branch: "" | ||
scm_clean: "True" | ||
scm_delete_on_update: "True" | ||
scm_update_on_launch: "False" | ||
scm_update_cache_timeout: "0" | ||
allow_override: "False" | ||
timeout: 0 | ||
... |
11 changes: 11 additions & 0 deletions
11
lab-materials/lab-env-data/aap2/config-files/Lab/users/student.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
controller_user_accounts: | ||
- username: "student" | ||
password: "{{ student_aap_pwd }}" | ||
email: "" | ||
first_name: "Student" | ||
last_name: "" | ||
auditor: "False" | ||
superuser: "False" | ||
update_secrets: False | ||
... |
21 changes: 21 additions & 0 deletions
21
lab-materials/lab-env-data/aap2/config-files/current_credential_types.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
controller_credential_types: | ||
- name: "Kubeconfig" | ||
description: "" | ||
kind: "cloud" | ||
inputs: | ||
fields: | ||
- id: kube_config | ||
label: kubeconfig | ||
multiline: true | ||
secret: true | ||
type: string | ||
required: | ||
- kube_config | ||
|
||
injectors: | ||
env: | ||
K8S_AUTH_KUBECONFIG: !unsafe '{{ tower.filename.kubeconfig }}' | ||
file: | ||
template.kubeconfig: !unsafe '{{ kube_config }}' | ||
... |
8 changes: 8 additions & 0 deletions
8
lab-materials/lab-env-data/aap2/config-files/current_execution_environments.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
controller_execution_environments: | ||
- name: "5G RAN Lab" | ||
description: "" | ||
image: "{{ execution_environment_img }}" | ||
pull: "missing" | ||
credential: "Lab Disconnected Registry" | ||
... |
11 changes: 11 additions & 0 deletions
11
lab-materials/lab-env-data/aap2/config-files/user_roles/current_roles_student.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
controller_roles: | ||
- user: "student" | ||
organizations: | ||
- "Lab" | ||
role: "admin" | ||
- user: "student" | ||
organizations: | ||
- "Lab" | ||
role: "member" | ||
... |
Oops, something went wrong.