Subject: [Teas] IETF TE Topology YANG Model Design Meeting Notes - 2016-09-28

From: Xufeng Liu <[email-masked]>
Date: Mon, 3 Oct 2016 14:06:13 +0000

Attendees:
Igor, Xufeng, Dieter, Sergio, Pavan, Tarek

- Discussed counters/statistics.
  > It was agreed to make the statistics as a feature.
  > Attendees are proposing to add the following attributes.
  > Attendees seek preferences and opinions from Working Group on these statistic attributes,
    whether adding more or removing any of these, and whether the statistics are useful.

1.            TE node level:
    u_int32 nodeEnables;                      /* number of times node was enabled */
    u_int32 nodeDisables;                     /* number of times node was disabled */
    u_int32 modeModifies;                     /* number of times node was modified */
    u_int32 nodeMaintenanceSets;              /* number of times node was put in maintenance */
    u_int32 nodeMaintenanceClears;            /* number of times node was put out of maintenance */
    u_int32 connectivityMatrixEntryAdds;      /* number of times CM_entry was added */
    u_int32 connectivityMatrixEntryRemoves;   /* number of times CM_entry was removed */
    u_int32 connectivityMatrixEntryModifys;   /* number of times CM_entry was modified */
    u_int32 connectivityMatrixEntryDisables;  /* number of times CM_entry was disabled */
    u_int32 connectivityMatrixEntryEnables;   /* number of times CM_entry was enabled */

2.            TE TTP level:
    u_int32 ttpModifies;              /* number of times TTP was modified */
    u_int32 ttpEnables;               /* number of times TTP was enabled */
    u_int32 ttpDisables;              /* number of times TTP was disabled */
    u_int32 ttpUps;                   /* number of times TTP status was set to UP */
    u_int32 ttpDowns;                 /* number of times TTP status was set to DOWN */
    u_int32 ttpMaintenanceSets;       /* number of times TTP was put in maintenance */
    u_int32 ttpMaintenanceClears;     /* number of times TTP was put out of maintenance */
    u_int32 ttpInServiceSets;         /* number of times TTP was put in service by a
                                         TE tunnel (TE tunnel was set up)*/
    u_int32 ttpInServiceClears;       /* number of times TTP was taken out of service
                                         (TE tunnel was released) */
    u_int32 llclEntryAdds;            /* number of times LLCL_entry was added */
    u_int32 llclEntryRemovess;        /* number of times LLCL_entry was removed */
    u_int32 llclEntryModifys;         /* number of times LLCL_entry was modified */
    u_int32 llclEntryDisables;        /* number of times LLCL_entry was disabled */
    u_int32 llclEntryEnables;         /* number of times LLCL_entry was enabled */

3.            TE Link level:
    u_int32 linkModifys;              /* number of times link was modified */
    u_int32 linkEnables;              /* number of times link was enabled */
    u_int32 linkDisables;             /* number of times link was disabled */
    u_int32 linkUps;                  /* number of times link status was set to UP */
    u_int32 linkDowns;                /* number of times link status was set to DOWN */
    u_int32 linkMaintenanceSets;      /* number of times link was put in maintenance */
    u_int32 linkMaintenanceClears;    /* number of times link was put out of mainntenance */
    linkProtectionSwitches;           /* number of times link experienced protection switchover */
    linkProtectionReverts;            /* number of times link experienced protection reversion */
    linkRestorationSwitches;          /* number of times link experienced restoration switchover */
    linkRestorationReverts;           /* number of times link experienced restoration reversion */
    linkFaultDetects;                 /* number of times link experienced fault detection */
    linkFaultClears;                  /* number of times link experienced fault clear event */

  > Model structure changes:
augment /nw:networks/nw:network/nw:node:
   +--rw te-node-id?   te-types:te-node-id
   +--rw te!
      +--rw config
      |  +--rw te-node-attributes
      |     +--rw connectivity-matrix* [id]
      |     |  +--rw id                         uint32
      +--ro state
      |  +--ro te-node-template*           leafref {template}?
      |  +--ro te-node-attributes
      |  |  +--ro connectivity-matrix* [id]
      |  |  |  +--ro id                         uint32
+     +--ro statistics
+        +--ro node-enables
+        +--ro node-disables
+        +--ro node-modifies
+        +--ro node-maintenance-sets
+        +--ro node-maintenance-clears
+        +--ro connectivity-matrix-entry-adds;
+        +--ro connectivity-matrix-entry-removes;
+        +--ro connectivity-matrix-entry-modifies;
+        +--ro connectivity-matrix-entry-disables;
+        +--ro connectivity-matrix-entry-enables;
      +--rw tunnel-termination-point* [tunnel-tp-id]
         +--rw tunnel-tp-id    binary
         +--rw config
         +--ro state
            +--ro switching-capability?     identityref
            +--ro encoding?                 identityref
+        +--ro statistics
         ...

augment /nw:networks/nw:network/nt:link:
   +--rw te!
      +--rw config
      +--ro state
+     +--ro statistics
      ...

Thanks,

- Xufeng

Note: Please drop me an email if you need an invite for joining the weekly call.