blob: 917ea8de165ba7de9aebc83e6fad51aa9f448fb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
====================
SDVConfig User Guide
====================
Welcome to the SDVConfig user Guide!
Who should use this guide?
If you are searching for a way to run the sdvconfig code and don't know how, this guide is for you.
Currently there exists two functionalities, extrapolation and validation.
To do a extrapolate POST request, use following command.
```
curl --header "Content-Type: application/json" --request POST --data '{"pdf_fn":"<>", "store_at":"<>"}' http://localhost:8000/extrapolate
```
To run this on commandline, use the following command
```
python extrapolation.py --pdf_fn="path/to/pdf_fn" --store-at="path/to/storage"
```
The pdf_fn key expects absolute filepath to pdf or a raw github file url.
the store_at key expects absolute filepath to which the new generated pdf should be stored at.
To do a validation POST request, use following command
```
curl --header "Content-Type: application/json" --request POST --data '{"pdf_file":"<>", "inst_dir":"<>", "inst_type":"<>", "sitename":"<>"}' http://localhost:8000/validate
```
To run this on commandline, use the following command.
```
python cli_validation.py --inst_dir=path/to/mani_dir --inst_type=type --pdf=path/to/pdf --sitename=sitename
```
The pdf_file key expects absolute filepath to pdf or a raw github file url.
The inst_dir key expects absolute filepath to installer directory or a github clone url.
The inst_type key expects installer type string ("airship", "tripleo", etc.)
sitename: intel-pod10, intel-pod15 etc.
|