diff options
Diffstat (limited to 'vnfs/TestVNF/netconftemplates/netconftemplates/close-session')
4 files changed, 108 insertions, 0 deletions
diff --git a/vnfs/TestVNF/netconftemplates/netconftemplates/close-session/NA/response.groovy b/vnfs/TestVNF/netconftemplates/netconftemplates/close-session/NA/response.groovy new file mode 100644 index 00000000..5f0348c8 --- /dev/null +++ b/vnfs/TestVNF/netconftemplates/netconftemplates/close-session/NA/response.groovy @@ -0,0 +1,22 @@ +/* + * ============LICENSE_START======================================================= + * Copyright (C) 2016-2018 Ericsson. All rights reserved. + * ================================================================================ + * 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. + * + * SPDX-License-Identifier: Apache-2.0 + * ============LICENSE_END========================================================= + */ + +println "close session!" +return "<rpc-reply message-id=\"<MID>\" xmlns=\"urn:ietf:params:xml:ns:netconf:base:1.0\"> <ok/> </rpc-reply>"; diff --git a/vnfs/TestVNF/netconftemplates/netconftemplates/close-session/NA/response.xml b/vnfs/TestVNF/netconftemplates/netconftemplates/close-session/NA/response.xml new file mode 100644 index 00000000..a2909ffe --- /dev/null +++ b/vnfs/TestVNF/netconftemplates/netconftemplates/close-session/NA/response.xml @@ -0,0 +1,3 @@ +<rpc-reply <RPCHEADER>> + <data/> +</rpc-reply>
\ No newline at end of file diff --git a/vnfs/TestVNF/netconftemplates/netconftemplates/close-session/NA/system/response.xml b/vnfs/TestVNF/netconftemplates/netconftemplates/close-session/NA/system/response.xml new file mode 100644 index 00000000..46ba494f --- /dev/null +++ b/vnfs/TestVNF/netconftemplates/netconftemplates/close-session/NA/system/response.xml @@ -0,0 +1,7 @@ +<rpc-reply <RPCHEADER>> + <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> + <system xmlns="http://acme.example.com/system"> + <host-name>aaaaa</host-name> + </system> +</data> +</rpc-reply>
\ No newline at end of file diff --git a/vnfs/TestVNF/netconftemplates/netconftemplates/close-session/NA/turing-machine/response.xml b/vnfs/TestVNF/netconftemplates/netconftemplates/close-session/NA/turing-machine/response.xml new file mode 100644 index 00000000..4a659af3 --- /dev/null +++ b/vnfs/TestVNF/netconftemplates/netconftemplates/close-session/NA/turing-machine/response.xml @@ -0,0 +1,76 @@ +<rpc-reply <RPCHEADER>> + <data> +<turing-machine xmlns="http://example.net/turing-machine"> + <transition-function> + <delta> + <label>separator</label> + <output> + <state>4</state> + <symbol>1</symbol> + </output> + <input> + <state>0</state> + <symbol>0</symbol> + </input> + </delta> + <delta> + <label>go home</label> + <output> + <head-move>left</head-move> + </output> + <input> + <state>3</state> + <symbol>1</symbol> + </input> + </delta> + <delta> + <label>write separator</label> + <output> + <state>3</state> + <head-move>left</head-move> + <symbol>0</symbol> + </output> + <input> + <state>2</state> + <symbol>1</symbol> + </input> + </delta> + <delta> + <label>right summand</label> + <input> + <state>1</state> + <symbol>1</symbol> + </input> + </delta> + <delta> + <label>left summand</label> + <input> + <state>0</state> + <symbol>1</symbol> + </input> + </delta> + <delta> + <label>right end</label> + <output> + <state>2</state> + <head-move>left</head-move> + </output> + <input> + <state>1</state> + <symbol></symbol> + </input> + </delta> + <delta> + <label>final step</label> + <output> + <state>4</state> + </output> + <input> + <state>3</state> + <symbol></symbol> + </input> + </delta> + </transition-function> +</turing-machine> + </data> +</rpc-reply>
\ No newline at end of file |