Load netconf notification and add create-subscription to yang.
This commit is contained in:
parent
71eddeaa74
commit
77e56868d4
4 changed files with 51 additions and 4 deletions
|
|
@ -91,4 +91,47 @@ module ietf-netconf-notification {
|
|||
}
|
||||
}
|
||||
}
|
||||
rpc create-subscription {
|
||||
description
|
||||
"The command to create a notification subscription. It
|
||||
takes as argument the name of the notification stream
|
||||
and filter. Both of those options
|
||||
limit the content of the subscription. In addition,
|
||||
there are two time-related parameters, startTime and
|
||||
stopTime, which can be used to select the time interval
|
||||
of interest to the notification replay feature.";
|
||||
reference "RFC 5277, Section 2.1";
|
||||
input {
|
||||
leaf stream{
|
||||
type string;
|
||||
default "NETCONF";
|
||||
description "An optional parameter, <stream>, that indicates which
|
||||
stream of events is of interest. If not present, events in the
|
||||
default NETCONF stream will be sent.";
|
||||
}
|
||||
leaf filter{
|
||||
type string;
|
||||
description "An optional parameter, <filter>, that indicates which
|
||||
subset of all possible events is of interest. The format of this
|
||||
parameter is the same as that of the filter parameter in the
|
||||
NETCONF protocol operations. If not present, all events not
|
||||
precluded by other parameters will be sent. See section 3.6
|
||||
for more information on filters";
|
||||
}
|
||||
leaf startTime {
|
||||
type date-and-time;
|
||||
description "used to trigger the replay feature
|
||||
and indicate that the replay should start at the time
|
||||
specified. If <startTime> is not present, this is not a replay
|
||||
subscription.";
|
||||
}
|
||||
leaf stopTime {
|
||||
type date-and-time;
|
||||
description "used with the optional
|
||||
replay feature to indicate the newest notifications of
|
||||
interest. If <stopTime> is not present, the notifications will
|
||||
continue until the subscription is terminated.";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue