Swift Workbook

Swift Workbook

Workbook name:tripleo.swift.v1

TripleO Swift Utility Workflows

Workflows in the Swift Workbook

tripleo.swift.v1.container_exists

Verify if a Swift container exists

Given the name of a Swift container this workflow will verify if it already exists. The workflow will ERROR if it doesn’t and end in SUCCESS if it does. If create_container: true is passed in, then the container will be created if it doesn’t exist. In this case, if the workflow fails the container failed to create.

Workflow inputs:

input container:
 Required.
input headers:Default: {}
input create_container:
 Default: False
tripleo.swift.v1.object_exists

Verify if a Swift object exists

Given the name of a Swift container and object this workflow will verify if it already exists. The workflow will ERROR if it doesn’t and end in SUCCESS if it does.

Workflow inputs:

input container:
 Required.
input object:Required.
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.