Cisco Cisco Evolved Programmable Network Manager 2.0 Guia Do Programador

Página de 254
  
 
 
Cisco EPN Manager 2.0.3 RESTCONF NBI Guide  
 
 
240 
         
 
description
 
"Object represented by the Fully Distinguished Name for delete 
or summary use cases"
         
        } 
   } 
 
  
container
 push-change-update { 
    
description
 
      
"This notification contains an on-change push update.
 
       This notification shall only be sent to the receivers
 
       of a subscription; it does not constitute a general-purpose
 
       notification."
    
leaf
 subscription-id { 
      
type
 subscription-id; 
      
description
 
        
"This references the subscription because of which the
 
         notification is sent."
    } 
    
leaf
 request-id { 
      
type
 
string
      
description
 
        
"This references the service or configuration request identifier  ."
    } 
    
leaf
 topic { 
      
type
 
string
      
mandatory
 true; 
      
description
 
        
"This references the subscription topic for which the
 
         notification is sent."
    } 
    
leaf
 time-of-update { 
      
type
 yang:date-and-time; 
      
description
 
       
"This leaf contains the time of the update, i.e. the
 
         time at which the change was observed."
    } 
    
leaf
 operation { 
         
type
 
identityref
 { 
          
base
 change-type; 
         } 
         
description
 
         
"Create, Modify, Delete or Configuration"
    } 
    
uses
 update-data;   
// includes object create, modify, delete or configuration
 
  } 
 
  
container
 notification-subscription { 
    
description
 
      
"This is the record of a subscriber in the database"
    
leaf
 subscription-id { 
      
type
 subscription-id; 
      
mandatory
 true; 
      
description
 
        
"This references the subscription because of which the
 
         notification is sent."
    } 
    
leaf
 subscribed-user { 
      
type
 
string
      
mandatory
 true; 
      
description
 
        
"This references the user who has subscribed to the current topic"
    } 
     
leaf
 endpoint-url { 
      
type
 
string
      
mandatory
 true; 
      
description
 
        
"This references the subscription topic for which the
 
         notification is sent."
    } 
    
leaf
 topic { 
      
type
 
string