notif_demo.py

Using the techniques described in the EMC Assurance Suite - AMQP & REST White Paper, developers can easily integrate with EMC Smarts Service Assurance Manager to listen for notifications, act on them, and make updates in the SAM system. The techniques are language and platform independent, and applicable to a variety of integration scenarios.

 

This file contains code examples to implement the concepts outlined here as a Python script which subscribes to notification messages via AMQP, assigns all new notifications a random trouble ticket ID number (simulating interaction with a real ticketing system), and updates the notification in SAM with this ticket ID using a CAS-aware EDAA REST client.