diff options
author | tmartins <thigm85@gmail.com> | 2020-07-02 14:39:46 +0200 |
---|---|---|
committer | tmartins <thigm85@gmail.com> | 2020-07-02 14:39:46 +0200 |
commit | 1409de59e3b549424c7226c622e2b31a271e276a (patch) | |
tree | 104ad348e88f93900d3eb09a9fe2b546cb38bb42 /python | |
parent | ddd7cd7c804261993f04d8a4cabe5720f5cec605 (diff) |
hosts and services template files
Diffstat (limited to 'python')
-rw-r--r-- | python/vespa/vespa/templates/hosts.xml | 7 | ||||
-rw-r--r-- | python/vespa/vespa/templates/services.xml | 18 |
2 files changed, 25 insertions, 0 deletions
diff --git a/python/vespa/vespa/templates/hosts.xml b/python/vespa/vespa/templates/hosts.xml new file mode 100644 index 00000000000..5c88f4c1609 --- /dev/null +++ b/python/vespa/vespa/templates/hosts.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!-- Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. --> +<hosts> + <host name="localhost"> + <alias>node1</alias> + </host> +</hosts>
\ No newline at end of file diff --git a/python/vespa/vespa/templates/services.xml b/python/vespa/vespa/templates/services.xml new file mode 100644 index 00000000000..0e5a05e180a --- /dev/null +++ b/python/vespa/vespa/templates/services.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<services version="1.0"> + <container id="{{ application_name }}" version="1.0"> + <search></search> + <document-processing></document-processing> + <document-api></document-api> + </container> + <content id="{{ application_name }}" version="1.0"> + <redundancy reply-after="1">1</redundancy> + <documents> + <document type="{{ document_name }}" mode="index"></document> + <document-processing cluster="{{ application_name }}"></document-processing> + </documents> + <nodes> + <node distribution-key="0" hostalias="node1"></node> + </nodes> + </content> +</services>
\ No newline at end of file |