Commands: - fuel2 sequence create -r <release> -n <name> -t <graph_type1> [graph_typeN] - fuel2 sequence upload -r <release> --file <file_path> - fuel2 sequence download <id> [--file <file path>] - fuel2 sequence delete <id> - fuel2 sequence update <id> [-name <name>] [-t <graph_type1> [graph_typeN]] - fuel2 sequence list -r <release_id> | -e <env_id> - fuel2 sequence show <id> - fuel2 sequence execute <id> -e <env_id> [--force] [--dry-run] [--noop] DocImpact Change-Id: I6eb688c5cc91b2b3dbaa2fe5c52a69fe062da664 Partial-Bug: 1620620
22 lines
763 B
Python
22 lines
763 B
Python
# Copyright 2016 Mirantis, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
from fuelclient.objects.base import BaseObject
|
|
|
|
|
|
class Sequence(BaseObject):
|
|
|
|
class_api_path = "sequences/"
|
|
instance_api_path = "sequences/{0}/"
|