fix test
This commit is contained in:
parent
c4ca4ed962
commit
ba3558bd36
1 changed files with 4 additions and 6 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# SNMP test for yang union type with are same types of subtypes
|
# SNMP test for yang union type with are same types of subtypes
|
||||||
|
|
||||||
|
|
||||||
# Magic line must be first in script (see README.md)
|
# Magic line must be first in script (see README.md)
|
||||||
s="$_" ; . ./lib.sh || if [ "$s" = $0 ]; then exit 0; else return 0; fi
|
s="$_" ; . ./lib.sh || if [ "$s" = $0 ]; then exit 0; else return 0; fi
|
||||||
|
|
||||||
|
|
@ -33,7 +32,6 @@ cat <<EOF > $cfg
|
||||||
<CLICON_BACKEND_PIDFILE>/var/tmp/$APPNAME.pidfile</CLICON_BACKEND_PIDFILE>
|
<CLICON_BACKEND_PIDFILE>/var/tmp/$APPNAME.pidfile</CLICON_BACKEND_PIDFILE>
|
||||||
<CLICON_XMLDB_DIR>$dir</CLICON_XMLDB_DIR>
|
<CLICON_XMLDB_DIR>$dir</CLICON_XMLDB_DIR>
|
||||||
<CLICON_SNMP_AGENT_SOCK>unix:$SOCK</CLICON_SNMP_AGENT_SOCK>
|
<CLICON_SNMP_AGENT_SOCK>unix:$SOCK</CLICON_SNMP_AGENT_SOCK>
|
||||||
<CLICON_SNMP_MIB>ENTITY-MIB</CLICON_SNMP_MIB>
|
|
||||||
<CLICON_VALIDATE_STATE_XML>true</CLICON_VALIDATE_STATE_XML>
|
<CLICON_VALIDATE_STATE_XML>true</CLICON_VALIDATE_STATE_XML>
|
||||||
</clixon-config>
|
</clixon-config>
|
||||||
EOF
|
EOF
|
||||||
|
|
@ -78,9 +76,9 @@ module clixon-example{
|
||||||
|
|
||||||
leaf name{
|
leaf name{
|
||||||
type union{
|
type union{
|
||||||
type ex:first;
|
type ex:first;
|
||||||
type ex:second;
|
type ex:second;
|
||||||
type ex:third;
|
type ex:third;
|
||||||
}
|
}
|
||||||
description "name";
|
description "name";
|
||||||
smiv2:oid "1.3.6.1.2.1.47.1.1.1.1.1";
|
smiv2:oid "1.3.6.1.2.1.47.1.1.1.1.1";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue