【问题标题】:editing 'config false' leaf in YANG在 YANG 中编辑 'config false' 叶
【发布时间】:2020-08-28 05:35:17
【问题描述】:

如何更改 '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 ietf-netmod-yang ietf-netconf


    【解决方案1】:

    Hy

    不能通过直接用户/api 输入来修改 config-false 设置为 true 的 YANG 参数。

    您必须在您的应用中实现服务逻辑,以便在某个触发器或事件之后修改该参数。

    已创建 Config-false 选项,以避免由输入事件触发的值修改。有关更多信息,请参阅 RFC YANG 1.1。

    【讨论】:

      猜你喜欢
      • 2020-06-09
      • 1970-01-01
      • 1970-01-01
      • 2019-08-12
      • 1970-01-01
      • 2015-07-03
      • 1970-01-01
      • 2020-10-16
      • 2016-07-28
      相关资源
      最近更新 更多