You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 5
Next »
The conductor ingest json files
https://docs.128technology.com/docs/config_templates/#creating-a-template
Conductor | copy service to a template |
---|
1- create a blank template | |
2- add name and descriptive | |
3- copy the service to the new template | |
| |
| create a template from file |
---|
| |
| Click New:
>> provide a name and descriptive |
Variable from a Source file | csv |
---|
convert csv files to json | https://csvjson.com/csv2json
Source file:
-----------
name_service, dst_ip_address,dst_protocol,dst_port
service1, 10.0.19.1,tcp,22
name_service, accessPolicy, accessPolicy,dst_ip_address,dst_protocol,dst_port,dst_port
service1, tenant1, tenant2, 10.0.19.1,tcp,80,81
JSON file:
---------
[
{
"name_service": "service1",
"dst_ip_address": "10.0.19.1",
"dst_protocol": "tcp",
"dst_port": 22
}
]
|
|
|
Rest API |
|
---|
|
|
|
|
|
|