diff options
author | CNlucius <lukai1@huawei.com> | 2016-09-13 11:40:12 +0800 |
---|---|---|
committer | CNlucius <lukai1@huawei.com> | 2016-09-13 11:41:53 +0800 |
commit | b731e2f1dd0972409b136aebc7b463dd72c9cfad (patch) | |
tree | 5107d7d80c19ad8076c2c97c2b5ef8d1cf3ab903 /framework/src/onos/utils/stc/src/test/resources/org/onlab/stc | |
parent | ee93993458266114c29271a481ef9ce7ce621b2a (diff) |
ONOSFW-171
O/S-SFC-ONOS scenario documentation
Change-Id: I51ae1cf736ea24ab6680f8edca1b2bf5dd598365
Signed-off-by: CNlucius <lukai1@huawei.com>
Diffstat (limited to 'framework/src/onos/utils/stc/src/test/resources/org/onlab/stc')
8 files changed, 0 insertions, 244 deletions
diff --git a/framework/src/onos/utils/stc/src/test/resources/org/onlab/stc/layout-basic-nest.xml b/framework/src/onos/utils/stc/src/test/resources/org/onlab/stc/layout-basic-nest.xml deleted file mode 100644 index 19c48db1..00000000 --- a/framework/src/onos/utils/stc/src/test/resources/org/onlab/stc/layout-basic-nest.xml +++ /dev/null @@ -1,27 +0,0 @@ -<!-- - ~ Copyright 2015 Open Networking Laboratory - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> -<scenario name="basic-nest"> - <step name="a"/> - <step name="b" requires="a"/> - <step name="f" requires="b"/> - <group name="g"> - <step name="c"/> - <group name="gg" requires="c"> - <step name="d"/> - <step name="e" requires="d"/> - </group> - </group> -</scenario>
\ No newline at end of file diff --git a/framework/src/onos/utils/stc/src/test/resources/org/onlab/stc/layout-basic.xml b/framework/src/onos/utils/stc/src/test/resources/org/onlab/stc/layout-basic.xml deleted file mode 100644 index d7dc1383..00000000 --- a/framework/src/onos/utils/stc/src/test/resources/org/onlab/stc/layout-basic.xml +++ /dev/null @@ -1,25 +0,0 @@ -<!-- - ~ Copyright 2015 Open Networking Laboratory - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> -<scenario name="basic"> - <step name="a"/> - <step name="b" requires="a"/> - <step name="f" requires="b"/> - <group name="g"> - <step name="c"/> - <step name="d" requires="c"/> - <step name="e" requires="d"/> - </group> -</scenario>
\ No newline at end of file diff --git a/framework/src/onos/utils/stc/src/test/resources/org/onlab/stc/layout-deep-nest.xml b/framework/src/onos/utils/stc/src/test/resources/org/onlab/stc/layout-deep-nest.xml deleted file mode 100644 index bbe1ac19..00000000 --- a/framework/src/onos/utils/stc/src/test/resources/org/onlab/stc/layout-deep-nest.xml +++ /dev/null @@ -1,41 +0,0 @@ -<!-- - ~ Copyright 2015 Open Networking Laboratory - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> -<scenario name="basic-nest"> - <step name="a"/> - <step name="aa"/> - <step name="b" requires="a"/> - <step name="f" requires="b,aa"/> - <group name="g"> - <step name="c"/> - <group name="gg" requires="c"> - <step name="d"/> - <step name="dd" requires="c"/> - <step name="e" requires="d"/> - </group> - </group> - <step name="i" requires="f,g"/> - - <group name="g1"> - <group name="g2"> - <group name="g3"> - <step name="u"/> - <step name="v"/> - <step name="w" requires="u,v"/> - <step name="z" requires="u,w"/> - </group> - </group> - </group> -</scenario>
\ No newline at end of file diff --git a/framework/src/onos/utils/stc/src/test/resources/org/onlab/stc/layout-staggered-dependencies.xml b/framework/src/onos/utils/stc/src/test/resources/org/onlab/stc/layout-staggered-dependencies.xml deleted file mode 100644 index 318b4ba1..00000000 --- a/framework/src/onos/utils/stc/src/test/resources/org/onlab/stc/layout-staggered-dependencies.xml +++ /dev/null @@ -1,30 +0,0 @@ -<!-- - ~ Copyright 2015 Open Networking Laboratory - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> -<scenario name="basic-nest"> - <step name="a"/> - <step name="aa"/> - <step name="b" requires="a"/> - <step name="f" requires="b,aa"/> - <group name="g"> - <step name="c"/> - <group name="gg" requires="c"> - <step name="d"/> - <step name="dd" requires="c"/> - <step name="e" requires="d"/> - </group> - </group> - <step name="i" requires="f,g"/> -</scenario>
\ No newline at end of file diff --git a/framework/src/onos/utils/stc/src/test/resources/org/onlab/stc/one-scenario.xml b/framework/src/onos/utils/stc/src/test/resources/org/onlab/stc/one-scenario.xml deleted file mode 100644 index e5cb6f29..00000000 --- a/framework/src/onos/utils/stc/src/test/resources/org/onlab/stc/one-scenario.xml +++ /dev/null @@ -1,20 +0,0 @@ -<!-- - ~ Copyright 2015 Open Networking Laboratory - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<scenario name="one" description="" logDir="/tmp/junit-stc/one"> - <step name="yolo" exec="some-command args"/> - <step name="hello" exec="some-command other args" requires="yolo"/> -</scenario>
\ No newline at end of file diff --git a/framework/src/onos/utils/stc/src/test/resources/org/onlab/stc/scenario.xml b/framework/src/onos/utils/stc/src/test/resources/org/onlab/stc/scenario.xml deleted file mode 100644 index 533b11ea..00000000 --- a/framework/src/onos/utils/stc/src/test/resources/org/onlab/stc/scenario.xml +++ /dev/null @@ -1,54 +0,0 @@ -<!-- - ~ Copyright 2015 Open Networking Laboratory - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> -<scenario name="foo" description="Test Scenario" logDir="${test.dir}/foo"> - <import file="${test.dir}/one-scenario.xml" namespace="foo"/> - - <import file="${test.dir}/two-scenario.xml"/> - - <dependency name="dude" requires="~yolo"/> - - <step name="yo" exec="some-command ${HOME} and ${prop.foo} args" if="${prop.foo}"/> - <step name="hi" exec="some-command ${prop.bar} or ${HOME} other args"/> - <step name="there" exec="another-command" requires="yo,hi"/> - - <step name="maybe" exec="another-command" requires="~hi" unless="${prop.foo}"/> - - <group name="alpha" exec="same-command args" requires="yo"> - <step name="one" exec="asdads"/> - <step name="two" exec="asdads"/> - <group name="three" exec="asdads" requires="one,two"> - <step name="three.a"/> - <step name="three.b" requires="three.a"/> - <step name="three.c" requires="three.b"/> - </group> - </group> - - <dependency name="maybe" requires="yo"/> - - <parallel var="${TOC#}" requires="alpha"> - <step name="ping-${#}" exec="asdads ${TOC#}"/> - <step name="pong-${#}" exec="asdads"/> - <step name="ding-${#}" exec="asdads" requires="ping-${#},pong-${#}"/> - <dependency name="maybe" requires="ding-${#}"/> - </parallel> - - <sequential var="${TOC#}" requires="alpha" starts="fifi-${#},gigi-${#}" ends="gaga-${#-1}"> - <step name="fifi-${#}" exec="asdads ${TOC#}"/> - <step name="gigi-${#}" exec="asdads"/> - <step name="gaga-${#}" exec="asdads" requires="fifi-${#},gigi-${#}"/> - <dependency name="maybe" requires="gaga-${#}"/> - </sequential> -</scenario>
\ No newline at end of file diff --git a/framework/src/onos/utils/stc/src/test/resources/org/onlab/stc/simple-scenario.xml b/framework/src/onos/utils/stc/src/test/resources/org/onlab/stc/simple-scenario.xml deleted file mode 100644 index c70fe872..00000000 --- a/framework/src/onos/utils/stc/src/test/resources/org/onlab/stc/simple-scenario.xml +++ /dev/null @@ -1,26 +0,0 @@ -<!-- - ~ Copyright 2015 Open Networking Laboratory - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> -<scenario name="foo" description="Simple Test Scenario" logDir="/tmp/junit-stc/foo"> - <group name="alpha" exec="same-command args"> - <step name="one" exec="asdads"/> - <step name="two" exec="asdads"/> - <group name="three" exec="asdads" requires="one,two"> - <step name="three.a"/> - <step name="three.b" requires="three.a"/> - <step name="three.c" requires="three.b"/> - </group> - </group> -</scenario>
\ No newline at end of file diff --git a/framework/src/onos/utils/stc/src/test/resources/org/onlab/stc/two-scenario.xml b/framework/src/onos/utils/stc/src/test/resources/org/onlab/stc/two-scenario.xml deleted file mode 100644 index 0d6135d5..00000000 --- a/framework/src/onos/utils/stc/src/test/resources/org/onlab/stc/two-scenario.xml +++ /dev/null @@ -1,21 +0,0 @@ -<!-- - ~ Copyright 2015 Open Networking Laboratory - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<scenario name="two" description="" logDir="/tmp/junit-stc/two"> - <step name="dude" exec="some-command args"/> - <step name="waz" exec="some-command other args"/> - <step name="up" exec="another-command" requires="dude,waz"/> -</scenario>
\ No newline at end of file |