Andy, Can you clarify this question? ________________________________ 华为技术有限公司 Huawei Technologies Co., Ltd. [Company_logo] 个人签名:冯冲 手 机:13776612983 电子邮件:frank.fengch...@huawei.com 公司网址:www.huawei.com ________________________________ 本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁 止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中 的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件! This e-mail and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!
发件人: Fengchong (frank) 发送时间: 2019年6月19日 10:21 收件人: 'netmod@ietf.org' <netmod@ietf.org>; 'a...@yumaworks.com' <a...@yumaworks.com> 抄送: yanjin (A) <rose....@huawei.com> 主题: a question about ietf-hardware yang module Hi andy and all, I’m implementing ietf-hardware.yang, and I have a question about /hardware/last-change. module: ietf-hardware +--rw hardware +--ro last-change? yang:date-and-time +--rw component* [name] +--rw name string +--rw class identityref +--ro physical-index? int32 {entity-mib}? +--ro description? string +--rw parent? -> ../../component/name +--rw parent-rel-pos? int32 +--ro contains-child* -> ../../component/name +--ro hardware-rev? string +--ro firmware-rev? string +--ro software-rev? string +--ro serial-num? string +--ro mfg-name? string +--ro model-name? string +--rw alias? string +--rw asset-id? string +--ro is-fru? boolean +--ro mfg-date? yang:date-and-time +--rw uri* inet:uri +--ro uuid? yang:uuid +--rw state {hardware-state}? | +--ro state-last-changed? yang:date-and-time | +--rw admin-state? admin-state | +--ro oper-state? oper-state | +--ro usage-state? usage-state | +--ro alarm-state? alarm-state | +--ro standby-state? standby-state +--ro sensor-data {hardware-sensor}? +--ro value? sensor-value +--ro value-type? sensor-value-type +--ro value-scale? sensor-value-scale +--ro value-precision? sensor-value-precision +--ro oper-status? sensor-status +--ro units-display? string +--ro value-timestamp? yang:date-and-time +--ro value-update-rate? uint32 Last-change’s description: "The time the '/hardware/component' list changed in the operational state."; It seems this description means any change (configuration change or state change) of list /hardware/component/ will cause the update of /hardware/last-change. But in description of notification:hardware-state-change notification hardware-state-change { description "A hardware-state-change notification is generated when the value of /hardware/last-change changes in the operational state."; reference "RFC 6933<https://tools.ietf.org/html/rfc6933>: Entity MIB (Version 4) - entConfigChange"; } This notification means if any change occurs in /hardware/last-change, a notification will be reported. This notification also refers to Entity MIB’s entConfigChange. My question is whether only configuration change of hardware component will cause the update of /hardware/last-change?
_______________________________________________ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod