Optimization of PUT
This commit is contained in:
parent
4e3bd6fbdd
commit
23dcb58758
15 changed files with 221 additions and 131 deletions
|
|
@ -172,6 +172,9 @@ expecteof_netconf "$clixon_netconf -qf $cfg" 0 "$DEFAULTHELLO" "<rpc $DEFAULTNS>
|
|||
new "Set s3 to 99"
|
||||
expecteof_netconf "$clixon_netconf -qf $cfg" 0 "$DEFAULTHELLO" "<rpc $DEFAULTNS><edit-config><target><candidate/></target><config><np3 xmlns=\"urn:example:clixon\"><s3>99</s3></np3></config></edit-config></rpc>" "" "<rpc-reply $DEFAULTNS><ok/></rpc-reply>"
|
||||
|
||||
new "commit"
|
||||
expecteof_netconf "$clixon_netconf -qf $cfg" 0 "$DEFAULTHELLO" "<rpc $DEFAULTNS><commit/></rpc>" "" "<rpc-reply $DEFAULTNS><ok/></rpc-reply>"
|
||||
|
||||
new "get config np3 with npleaf and npext"
|
||||
expecteof_netconf "$clixon_netconf -qf $cfg" 0 "$DEFAULTHELLO" "<rpc $DEFAULTNS><get-config><source><candidate/></source><filter type=\"xpath\" select=\"/ex:np3\" xmlns:ex=\"urn:example:clixon\" /></get-config></rpc>" "" "<rpc-reply $DEFAULTNS><data><np3 xmlns=\"urn:example:clixon\"><s3>99</s3></np3></data></rpc-reply>"
|
||||
|
||||
|
|
|
|||
|
|
@ -50,11 +50,8 @@ EOF
|
|||
# data model.
|
||||
cat <<EOF > $fyang
|
||||
module example {
|
||||
|
||||
namespace "http://example.com/ns/interfaces";
|
||||
|
||||
prefix exam;
|
||||
|
||||
typedef status-type {
|
||||
description "Interface status";
|
||||
type enumeration {
|
||||
|
|
@ -66,7 +63,6 @@ module example {
|
|||
}
|
||||
default ok;
|
||||
}
|
||||
|
||||
container interfaces {
|
||||
description "Example interfaces group";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue