blob: 0af4f0e0cc27c0e04e9471a47b4a2d0a1d08074a [file] [log] [blame]
Brian Freemanadaa2372018-10-24 12:25:22 -05001*** Settings ***
2Documentation SO Cloud Config Test Cases
3Test Timeout 1 minute
4
5
6Resource ../resources/so/create_cloud_config.robot
Brian Freeman9d85d0b2019-04-17 13:46:53 -05007Resource ../resources/aai/create_tenant.robot
Brian Freemanadaa2372018-10-24 12:25:22 -05008
9
10*** Test Cases ***
11Create 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 Freeman0789aef2019-04-15 16:57:18 -050014 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
16Create Cloud Config RegionThree V3 Test
17 [TAGS] mso cloudconfig cloudconfigv3
Brian Freeman9d85d0b2019-04-17 13:46:53 -050018 [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 Freemanf0e37ce2019-04-25 16:12:32 -050025 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 Freeman9d85d0b2019-04-17 13:46:53 -050027
Brian Freemanadaa2372018-10-24 12:25:22 -050028
29Get Cloud Config Test
30 [TAGS] mso cloudconfig
31 Get Cloud Configuration ${GLOBAL_INJECTED_REGION}