http://www.eclipse.org/legal/epl-v10.html";
revision "2014-12-02" {
- description "first revision";
+ description "first revision
+ + add rpc dis-join-topic
+ + add notification event-source-status-notification";
}
// FIXME: expand this
}
}
+ typedef event-source-status {
+ type enumeration {
+ enum active;
+ enum inactive;
+ enum deactive;
+ }
+ description "Status of event source
+ - active: event source is publishing notification,
+ - inactive: event source stopped publishing of notifications temporarily
+ - deactive: event source stopped publishing of notifications permanently" ;
+ }
+
grouping topology-event-source-type {
container topology-event-source {
presence "indicates an event source-aware topology";
}
}
+ rpc dis-join-topic {
+ input {
+ leaf node {
+ ext:context-reference "inv:node-context";
+ type "instance-identifier";
+ }
+ leaf topic-id {
+ type aggr:topic-id;
+ mandatory true;
+ description "identifier of topic to be disjoin";
+ }
+ }
+
+ }
+
+ notification event-source-status-notification {
+
+ description
+ "Notification of change event source status.";
+
+ leaf status {
+ type event-source-status;
+ mandatory true;
+ description "Current status of event source.";
+ }
+
+ }
+
augment "/nt:network-topology/nt:topology/nt:topology-types" {
uses topology-event-source-type;
}