summaryrefslogtreecommitdiffstats
path: root/recipes-test/demo-config/files
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2019-05-27 14:59:14 +0200
committerGitHub <noreply@github.com>2019-05-27 14:59:14 +0200
commitd1291df592cd0ea20a61b21228d45995e1766458 (patch)
tree1232bb0041816dffc09f3e118356b018725c161e /recipes-test/demo-config/files
parenta6c241c31f0afbf762a230db4b92c1758db66158 (diff)
parent8e9bbe95badbc889f3cd69caff8a223f65e6042d (diff)
downloadmeta-updater-d1291df592cd0ea20a61b21228d45995e1766458.tar.gz
Merge pull request #520 from advancedtelematic/feat/OTA-2541/preconfigured-secondaries
Posix/IP Secondary and Primary Support
Diffstat (limited to 'recipes-test/demo-config/files')
-rw-r--r--recipes-test/demo-config/files/30-fake_pacman.toml2
-rw-r--r--recipes-test/demo-config/files/30-secondary_config.toml2
-rw-r--r--recipes-test/demo-config/files/35-network_config.toml4
-rw-r--r--recipes-test/demo-config/files/45-id_config.toml3
-rw-r--r--recipes-test/demo-config/files/ip_secondary_config.json7
5 files changed, 18 insertions, 0 deletions
diff --git a/recipes-test/demo-config/files/30-fake_pacman.toml b/recipes-test/demo-config/files/30-fake_pacman.toml
new file mode 100644
index 0000000..3fb5cf2
--- /dev/null
+++ b/recipes-test/demo-config/files/30-fake_pacman.toml
@@ -0,0 +1,2 @@
1[pacman]
2type = "fake"
diff --git a/recipes-test/demo-config/files/30-secondary_config.toml b/recipes-test/demo-config/files/30-secondary_config.toml
new file mode 100644
index 0000000..7714240
--- /dev/null
+++ b/recipes-test/demo-config/files/30-secondary_config.toml
@@ -0,0 +1,2 @@
1[uptane]
2secondary_config_file = "@CFG_FILEPATH@"
diff --git a/recipes-test/demo-config/files/35-network_config.toml b/recipes-test/demo-config/files/35-network_config.toml
new file mode 100644
index 0000000..db7a1bb
--- /dev/null
+++ b/recipes-test/demo-config/files/35-network_config.toml
@@ -0,0 +1,4 @@
1[network]
2port = @PORT@
3primary_ip = @PRIMARY_IP@
4primary_port = @PRIMARY_PORT@
diff --git a/recipes-test/demo-config/files/45-id_config.toml b/recipes-test/demo-config/files/45-id_config.toml
new file mode 100644
index 0000000..6cbd77f
--- /dev/null
+++ b/recipes-test/demo-config/files/45-id_config.toml
@@ -0,0 +1,3 @@
1[uptane]
2ecu_serial = @SERIAL@
3ecu_hardware_id = @HWID@
diff --git a/recipes-test/demo-config/files/ip_secondary_config.json b/recipes-test/demo-config/files/ip_secondary_config.json
new file mode 100644
index 0000000..690cf2e
--- /dev/null
+++ b/recipes-test/demo-config/files/ip_secondary_config.json
@@ -0,0 +1,7 @@
1{
2 "IP": {
3 "secondaries_wait_port": @PORT@,
4 "secondaries_wait_timeout": @TIMEOUT@,
5 "secondaries": @ADDR_ARRAY@
6 }
7}