Cisco Cisco Evolved Programmable Network Manager 2.0 Developer's Guide
Cisco EPN Manager 2.0.2 RESTCONF NBI Guide
230
8 Notifications
Currently, notifications are supported using two different mechanisms:
• Connection-oriented notifications, using websockets
• Connectionless notifications
8.1 Supported notification types
• Inventory notifications - supported via both connection-oriented and connectionless
mechanisms
• Service Activation notifications - supported via both connection-oriented and
connectionless mechanisms
• High-Availability (HA) notifications - supported only via connectionless notifications
since a persistent connection cannot be expected during the course of a failover or
failback.
All the above notifications share the same schema.
8.2 Notifications Schema
module
cisco-yang-push {
namespace
"urn:cisco:params:xml:ns:yang:yang-push:v1"
;
prefix
push;
import
ietf-yang-types {
prefix
yang; }
organization
"Cisco Systems, Inc."
;
contact
"Cisco Systems, Inc.
Customer Service
Postal: 170 W Tasman Drive
San Jose, CA 95134
Tel: +1 1800 553-NETS
E-mail: cs-yang@cisco.com"
;
description
"This module contains schema for YANG push notification."
;
revision
2016-03-21 {
description
"Initial Draft."
;
reference
"YANG Datastore Push, draft-ietf-netconf-yang-push-02
Yang Push through Restconf.
"
;
}
identity
subscription-result {
description
"Base identity for responses to requests surrounding
management (e.g. creation, modification) of
subscriptions."
;
}
identity
ok {
base
subscription-result;
description
"OK - subscription was successful and was performed as requested."
;
}
identity
error {
base
subscription-result;