diff options
author | Jon Bratseth <bratseth@yahoo-inc.com> | 2016-06-15 23:09:44 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@yahoo-inc.com> | 2016-06-15 23:09:44 +0200 |
commit | 72231250ed81e10d66bfe70701e64fa5fe50f712 (patch) | |
tree | 2728bba1131a6f6e5bdf95afec7d7ff9358dac50 /config-model/src/test/cfg/routing/duplicateroute |
Publish
Diffstat (limited to 'config-model/src/test/cfg/routing/duplicateroute')
3 files changed, 26 insertions, 0 deletions
diff --git a/config-model/src/test/cfg/routing/duplicateroute/errors.txt b/config-model/src/test/cfg/routing/duplicateroute/errors.txt new file mode 100755 index 00000000000..2fd943e5a27 --- /dev/null +++ b/config-model/src/test/cfg/routing/duplicateroute/errors.txt @@ -0,0 +1 @@ +Route 'foo' in routing table 'document' is defined 2 times. diff --git a/config-model/src/test/cfg/routing/duplicateroute/hosts.xml b/config-model/src/test/cfg/routing/duplicateroute/hosts.xml new file mode 100644 index 00000000000..e2b97e374e6 --- /dev/null +++ b/config-model/src/test/cfg/routing/duplicateroute/hosts.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!-- Copyright 2016 Yahoo 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> diff --git a/config-model/src/test/cfg/routing/duplicateroute/services.xml b/config-model/src/test/cfg/routing/duplicateroute/services.xml new file mode 100755 index 00000000000..33fc9a12717 --- /dev/null +++ b/config-model/src/test/cfg/routing/duplicateroute/services.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!-- Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. --> +<services> + <admin version="2.0"> + <adminserver hostalias="node1" /> + </admin> + + <routing version="1.0"> + <routingtable protocol="document"> + <route name="foo" hops="bar" /> + <route name="foo" hops="baz" /> + </routingtable> + <services protocol="document"> + <service name="bar" /> + <service name="baz" /> + </services> + </routing> +</services> |