CVC: Add support for execution, schema, product
[cli.git] / framework / src / main / resources / open-cli-schema / execution / execution-show.yaml
1 # Copyright 2018 Huawei Technologies Co., Ltd.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 open_cli_schema_version: 1.0
16 name: execution-show
17 description: Show the complete executions for the given request id
18
19 info:
20   product: open-cli
21   service: execution
22   type: cmd
23   author: Kanagaraj Manickam kanagaraj.manickam@huawei.com
24
25 parameters:
26   - name: execution-id
27     type: string
28     description: Execution id
29     short_option: l
30     long_option: execution-id
31     is_optional: false
32 results:
33   direction: portrait
34   attributes:
35     - name: request-id
36       type: string
37       description: Request id
38       scope: short
39     - name: product
40       description: Product
41       scope: short
42       type: string
43     - name: service
44       description: service
45       scope: short
46       type: string
47     - name: command
48       description: command
49       scope: short
50       type: string
51     - name: profile
52       description: Profile
53       scope: short
54       type: string
55     - name: input
56       description: Input
57       scope: short
58       type: string
59     - name: status
60       description: Execution status
61       scope: short
62       type: string
63     - name: start-time
64       description: Command execution starting Time
65       scope: short
66       type: string
67     - name: end-time
68       description: Command execution finishing Time
69       scope: short
70       type: string
71     - name: output
72       description: Output
73       scope: short
74       type: string