CLI configurable format: [Default format should be configurable](https://github.com/clicon/clixon-controller/issues/87)
Added option: `CLICON_CLI_OUTPUT_FORMAT` - Default CLI output format
This commit is contained in:
parent
bd3a841103
commit
60a774cbf7
18 changed files with 168 additions and 83 deletions
|
|
@ -53,6 +53,7 @@ module clixon-config {
|
|||
description
|
||||
"Added options:
|
||||
CLICON_NETCONF_DUPLICATE_ALLOW - Disable duplicate check in NETCONF messages.
|
||||
CLICON_CLI_OUTPUT_FORMAT - Default CLI output format
|
||||
Released in Clixon 7.1";
|
||||
}
|
||||
revision 2024-01-01 {
|
||||
|
|
@ -879,6 +880,12 @@ module clixon-config {
|
|||
While setting this value makes sense for adding new values, it makes less sense for
|
||||
deleting.";
|
||||
}
|
||||
leaf CLICON_CLI_OUTPUT_FORMAT {
|
||||
type cl:datastore_format;
|
||||
default xml;
|
||||
description
|
||||
"Default CLI output format.";
|
||||
}
|
||||
leaf CLICON_SOCK_FAMILY {
|
||||
type socket_address_family;
|
||||
default UNIX;
|
||||
|
|
|
|||
|
|
@ -70,7 +70,8 @@ module clixon-lib {
|
|||
|
||||
revision 2024-04-01 {
|
||||
description
|
||||
"Released in Clixon 7.1";
|
||||
"Added: Default format
|
||||
Released in Clixon 7.1";
|
||||
}
|
||||
revision 2024-01-01 {
|
||||
description
|
||||
|
|
@ -179,6 +180,9 @@ module clixon-lib {
|
|||
enum cli{
|
||||
description "CLI format";
|
||||
}
|
||||
enum default{
|
||||
description "Default format";
|
||||
}
|
||||
}
|
||||
}
|
||||
identity snmp {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue