Skip to content

Commit 8011adf

Browse files
committed
Replace oracle cloud with new oci provider
1 parent 1f3c413 commit 8011adf

File tree

3 files changed

+23
-27
lines changed

3 files changed

+23
-27
lines changed

cloud/fallback-public-cloud.yaml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -253,17 +253,15 @@ clouds:
253253
zrh:
254254
endpoint: https://zrh.cloudsigma.com/api/2.0/
255255
oracle:
256-
type: oracle
257-
description: Oracle Cloud
258-
auth-types: [ userpass ]
256+
type: oci
257+
description: Oracle Cloud Infrastructure
258+
auth-types: [ httpsig ]
259259
regions:
260-
uscom-central-1:
261-
endpoint: https://compute.uscom-central-1.oraclecloud.com
262-
us2:
263-
endpoint: https://compute.uscom-central-1.oraclecloud.com
264-
us6:
265-
endpoint: https://compute.us6.oraclecloud.com
266-
em2:
267-
endpoint: https://compute.em2.oraclecloud.com
268-
em3:
269-
endpoint: https://compute.em3.oraclecloud.com
260+
us-phoenix-1:
261+
endpoint: https://iaas.us-phoenix-1.oraclecloud.com
262+
us-ashburn-1:
263+
endpoint: https://iaas.us-ashburn-1.oraclecloud.com
264+
eu-frankfurt-1:
265+
endpoint: https://iaas.eu-frankfurt-1.oraclecloud.com
266+
uk-london-1:
267+
endpoint: https://iaas.uk-london-1.oraclecloud.com

cloud/fallback_public_cloud.go

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -260,18 +260,16 @@ clouds:
260260
zrh:
261261
endpoint: https://zrh.cloudsigma.com/api/2.0/
262262
oracle:
263-
type: oracle
264-
description: Oracle Cloud
265-
auth-types: [ userpass ]
263+
type: oci
264+
description: Oracle Cloud Infrastructure
265+
auth-types: [ httpsig ]
266266
regions:
267-
uscom-central-1:
268-
endpoint: https://compute.uscom-central-1.oraclecloud.com
269-
us2:
270-
endpoint: https://compute.uscom-central-1.oraclecloud.com
271-
us6:
272-
endpoint: https://compute.us6.oraclecloud.com
273-
em2:
274-
endpoint: https://compute.em2.oraclecloud.com
275-
em3:
276-
endpoint: https://compute.em3.oraclecloud.com
267+
us-phoenix-1:
268+
endpoint: https://iaas.us-phoenix-1.oraclecloud.com
269+
us-ashburn-1:
270+
endpoint: https://iaas.us-ashburn-1.oraclecloud.com
271+
eu-frankfurt-1:
272+
endpoint: https://iaas.eu-frankfurt-1.oraclecloud.com
273+
uk-london-1:
274+
endpoint: https://iaas.uk-london-1.oraclecloud.com
277275
`

cmd/juju/cloud/list_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ clouds:
5656
// Just check a snippet of the output to make sure it looks ok.
5757
// local clouds are last.
5858
// homestack should abut localhost and hence come last in the output.
59-
c.Assert(out, jc.Contains, `Hypervisorhomestack 1 london openstack Openstack Cloud`)
59+
c.Assert(out, jc.Contains, `Hypervisorhomestack 1 london openstack Openstack Cloud`)
6060
}
6161

6262
func (s *listSuite) TestListPublicAndPersonalSameName(c *gc.C) {

0 commit comments

Comments
 (0)