Skip to content
This repository was archived by the owner on Oct 5, 2018. It is now read-only.
This repository was archived by the owner on Oct 5, 2018. It is now read-only.

Implement support for configuration from a file #6

@arax

Description

@arax

Implement support for a profile-based configuration loaded from YAML files, mainly for authentication details and endpoint information.

# rOCCI-cli configuration
default: &default
  auth: x509
  voms: true
  user-cred: /tmp/x509_1001

profile1:
  <<: *default
  endpoint: https://example1.occi.example.org:11443/

profile2:
  <<: *default
  endpoint: https://example2.occi.example.org:11443/
$ occi --profile profile2 --action describe --resource compute

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions