Brian Freeman | adaa237 | 2018-10-24 12:25:22 -0500 | [diff] [blame] | 1 | *** Settings *** |
| 2 | Documentation SO Cloud Config Test Cases |
| 3 | Test Timeout 1 minute |
| 4 | |
| 5 | |
| 6 | Resource ../resources/so/create_cloud_config.robot |
Brian Freeman | 9d85d0b | 2019-04-17 13:46:53 -0500 | [diff] [blame] | 7 | Resource ../resources/aai/create_tenant.robot |
Brian Freeman | adaa237 | 2018-10-24 12:25:22 -0500 | [diff] [blame] | 8 | |
| 9 | |
| 10 | *** Test Cases *** |
| 11 | Create Cloud Config Test |
| 12 | [TAGS] mso cloudconfig |
| 13 | # Run Create Cloud Configuration RegionOne RegionOne RegionOne DEFAULT_KEYSTONE identify_url:http://10.12.25.2:5000/v2.0 mso_id:demo mso_pass:encrypted_password admin_tenant:1e097c6713e74fd7ac8e4295e605ee1e member_role:admin identity_server_type:KEYSTONE identity_authentication_type:USERNAME_PASSWORD |
Brian Freeman | 0789aef | 2019-04-15 16:57:18 -0500 | [diff] [blame] | 14 | Create Cloud Configuration ${GLOBAL_INJECTED_REGION} ${GLOBAL_INJECTED_REGION} ${GLOBAL_INJECTED_REGION} DEFAULT_KEYSTONE ${GLOBAL_INJECTED_KEYSTONE}/${GLOBAL_INJECTED_OPENSTACK_KEYSTONE_API_VERSION} ${GLOBAL_INJECTED_OPENSTACK_USERNAME} ${GLOBAL_INJECTED_OPENSTACK_MSO_ENCRYPTED_PASSWORD} ${GLOBAL_INJECTED_OPENSTACK_TENANT_ID} admin KEYSTONE USERNAME_PASSWORD |
| 15 | |
| 16 | Create Cloud Config RegionThree V3 Test |
| 17 | [TAGS] mso cloudconfig cloudconfigv3 |
Brian Freeman | 9d85d0b | 2019-04-17 13:46:53 -0500 | [diff] [blame] | 18 | [Documentation] Create Keystone V3 in Region 3 |
| 19 | ... [Arguments] ${site_name} ${region_id} ${clli} ${identity_id} ${identity_url} ${mso_id} ${mso_pass} |
| 20 | ... ${admin_tenant} ${member_role} ${identity_server_type} ${authentication_type} ${project_domain_name} ${user_domain_Name} |
| 21 | ... ${region_id} in openstack is set up by cloud administration and does not have to be same as ONAP ${site_name} |
| 22 | ... In Windriver/Intel test labs the os_region_id's are all set to "RegionOne" |
| 23 | ... clli by testing team convention is same as onap site_name |
| 24 | ... KEYSTONE URL should end in /v3 SO will put /auth when KEYSTONE_V3 is the identity_server_type |
Brian Freeman | f0e37ce | 2019-04-25 16:12:32 -0500 | [diff] [blame] | 25 | Create Cloud Configuration v3 ${GLOBAL_INJECTED_REGION_THREE} ${GLOBAL_INJECTED_REGION} ${GLOBAL_INJECTED_REGION_THREE} REGION_THREE_KEYSTONE ${GLOBAL_INJECTED_KEYSTONE_REGION_THREE}/${GLOBAL_INJECTED_OPENSTACK_KEYSTONE_API_VERSION_REGION_THREE} ${GLOBAL_INJECTED_OPENSTACK_USERNAME_REGION_THREE} ${GLOBAL_INJECTED_OPENSTACK_MSO_ENCRYPTED_PASSWORD_REGION_THREE} ${GLOBAL_INJECTED_OPENSTACK_TENANT_ID_REGION_THREE} admin KEYSTONE_V3 USERNAME_PASSWORD ${GLOBAL_INJECTED_OPENSTACK_PROJECT_DOMAIN_REGION_THREE} ${GLOBAL_INJECTED_OPENSTACK_USER_DOMAIN_REGION_THREE} |
| 26 | Inventory Tenant If Not Exists CloudOwner ${GLOBAL_INJECTED_REGION_THREE} SharedNode OwnerType v1 CloudZone ${GLOBAL_INJECTED_OPENSTACK_TENANT_ID_REGION_THREE} ${GLOBAL_INJECTED_OPENSTACK_PROJECT_DOMAIN_REGION_THREE} |
Brian Freeman | 9d85d0b | 2019-04-17 13:46:53 -0500 | [diff] [blame] | 27 | |
Brian Freeman | adaa237 | 2018-10-24 12:25:22 -0500 | [diff] [blame] | 28 | |
| 29 | Get Cloud Config Test |
| 30 | [TAGS] mso cloudconfig |
| 31 | Get Cloud Configuration ${GLOBAL_INJECTED_REGION} |