This module defines a capability-based extension to the Network Configuration Protocol (NETCONF) that allows time-triggered conf...
Version: 2016-01-26
module ietf-netconf-time { yang-version 1; namespace "urn:ietf:params:xml:ns:yang:ietf-netconf-time"; prefix nct; import ietf-netconf { prefix nc; } import ietf-yang-types { prefix yang; } import ietf-netconf-monitoring { prefix ncm; } organization "IETF"; contact "Editor: Tal Mizrahi <dew@tx.technion.ac.il> Editor: Yoram Moses <moses@ee.technion.ac.il>"; description "This module defines a capability-based extension to the Network Configuration Protocol (NETCONF) that allows time-triggered configuration and management operations. This extension allows NETCONF clients to invoke configuration updates according to scheduled times and allows NETCONF servers to attach timestamps to the data they send to NETCONF clients. Copyright (c) 2016 IETF Trust and the persons identified as the authors of the code. All rights reserved. Redistribution and use in source and binary forms, with or without modification, is permitted pursuant to, and subject to the license terms contained in, the Simplified BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info)."; revision "2016-01-26" { description "Initial version."; reference "RFC 7758: Time Capability in NETCONF"; } typedef time-interval { type string { pattern '\d{2}:\d{2}:\d{2}(\.\d+)?'; } description "Defines a time interval, up to 24 hours. The format is specified as HH:mm:ss.f, consisting of two digits for hours, two digits for minutes, two digits for seconds, and zero or more digits representing second fractions."; } rpc cancel-schedule { description "Cancels a scheduled message."; reference "RFC 7758: Time Capability in NETCONF"; input { leaf cancelled-message-id { type string; description "The ID of the message to be cancelled."; } leaf get-time { type empty; description "Indicates that the rpc-reply should include the execution-time."; } } output { leaf execution-time { type yang:date-and-time; description "The time at which the RPC was executed."; } } } // rpc cancel-schedule notification netconf-scheduled-message { description "Indicates that a scheduled message was received."; reference "RFC 7758: Time Capability in NETCONF"; leaf schedule-id { type string; description "The ID of the scheduled message."; } leaf scheduled-time { type yang:date-and-time; description "The time at which the RPC is scheduled to be performed."; } } // notification netconf-scheduled-message } // module ietf-netconf-time
© 2023 YumaWorks, Inc. All rights reserved.