config - 在 YANG 中编辑 'config false' 叶
问题描述
如何更改“config false”叶子并更新服务器中的值,以便当客户端发出 get-config 命令时,他将获得更新的值?
leaf state {
type enumeration {
enum DISABLED {
description
"array carrier is not active - transmission of signal is disabled.";
}
enum BUSY {
description
"array carrier is processing an operation requested by change of active parameter.
When array carriers is BUSY the transmission of signal is not guaranteed.";
}
enum READY {
description
"array carrier had completed activation operation - is active and transmission of signal is ongoing.";
}
}
config false;
mandatory true;
description
"Indicates state of array carriers activation operation";
}
解决方案
海
config-false 设置为 true 的 YANG 参数不能通过直接用户/api 输入进行修改。
您必须在您的应用程序中实现服务逻辑,以便在某个触发器或事件之后修改该参数。
已创建 Config-false 选项,以避免由输入事件触发的值修改。有关更多信息,请参阅 RFC YANG 1.1。
推荐阅读
- php - Laravel - 更新输入文件中上传的文件
- java - 找出用户被处理了多少次?
- firebase - Firesbase 存储 - 强制下载图像
- python - 在 Python 中删除文件时出现文件路径问题
- sorting - 输出一个文件的所有行,其第 3 行和第 4 行在另一个文件的第 3 和第 4 列的一定范围内
- php - 使用正则表达式匹配多行并使用正则表达式和 PHP 修改这些匹配的行
- actionscript-3 - 找出 _local_x 或 _arg_x 是什么意思?
- python - python正则表达式无法获取数据
- mysql - Mysql Select Correlation 2 Levels Deep Subqueries
- c++ - 使用 C++ 初始化 Struct 的变量 const char* const*