Description

The leaves init_time and parent_ae_name not reporting the names as per OC model prior to 20.3X75-D10.

As per the current implementation below is the way how lag names are displayed for JTI metrics for Junos

 

"init_time" & "parent_ae_name"

 

Output :

 

2023/07/12 13:08:24 system_id: bloom-re0

2023/07/12 13:08:24 component_id: 1

2023/07/12 13:08:24 sub_component_id: 0

2023/07/12 13:08:24 path: sensor_1004:/junos/system/linecard/interface/queue/:/junos/system/linecard/interface/queue/:PFE

2023/07/12 13:08:24 sequence_number: 0

2023/07/12 13:08:24 timestamp: 1689181704238

2023/07/12 13:08:24 sync_response: %!d(bool=false)

2023/07/12 13:08:24  key: __timestamp__

2023/07/12 13:08:24  uint_value: 1689181704239

2023/07/12 13:08:24  key: __prefix__

2023/07/12 13:08:24  str_value: /interfaces/interface[name='xe-1/0/0']/

2023/07/12 13:08:24  key: init_time ----> Please note "_" underscore sign

2023/07/12 13:08:24  uint_value: 1676472722

2023/07/12 13:08:24  key: state/parent_ae_name ---> Please note "_" underscore sign

2023/07/12 13:08:24  str_value: ae0

Solution

In compliance with Open Config (OC) Model, the following leaves will be modified as below from 20.3X75 onwards.

 

Before                    After

parent_ae_name     parent-ae-name

init_time                  init-time

 

As per the OC (Open Config) model it should be "-" from junos:20.3X75-D10 onwards below is the way how lag names are displayed for JTI metrics.

 

For Ex:

If subscription path is "junos/system/linecard/interface/queue" sensor leaves are modified to make these Open Config Model compatible.

 

2023/06/28 15:21:13  str_value: /interfaces/interface[name='xe-5/0/3']/subinterfaces/subinterface[index='0']/

2023/06/28 15:21:13  key: init-time---> please note this "-" --> hyphen sign

2023/06/28 15:21:13  uint_value: 1684094155

2023/06/28 15:21:13  key: state/parent-ae-name ---> please note this "-" --> hyphen sign

2023/06/28 15:21:13  str_value: ae7.0

2023/06/28 15:21:13  key: __prefix__

Modification History

Made changes to visibility-- 7/18/2023