The following output shows the verification of on-change notifications for IS-IS
State configuration:
INFO:__main__:Message TYPE CNDP_SESSION_MSG - ENCODING CNDP_MSG_ENCODING_TDL - VERSION 1 - FLAGS NO_FLAG - LENGTH 175
INFO:__main__:Cndp session request received: Request_id 1 - {
"request_id": 1,
"device_id": "ASR-903:FOC2042NFR2",
"sw_version": "17.04.01.0.1182.1602302245..Bengaluru",
"src_ip": "ip address",
"capability_flag": [
"CNDP_SESSION_CAPABILITY_KEEP_ALIVE",
"CNDP_SESSION_CAPABILITY_SESSION_RESPONSE"
],
"ch_serial_num": "ASR-903:FOX2046P1MP",
"serial_num": "ASR-903:FOC2042NFR2"
} -
INFO:__main__:Sending cndp session request: Request_id 1 - {
"request_id": 1,
"status": 0,
"capability": {
"capability": [
"CNDP_SESSION_CAPABILITY_KEEP_ALIVE"
],
"capability_union": {
"ka_params": {
"ka_frequency": 30,
"ka_max_timeout": 90
}
}
}
} -
INFO:__main__:Telemetry message received from <ip address> at 2020-10-15 10:51:49
INFO:__main__:Message TYPE CNDP_KEEPALIVE_MSG - ENCODING CNDP_MSG_ENCODING_TDL - VERSION 1 - FLAGS NO_FLAG - LENGTH 28
INFO:__main__:SEQUENCE_ID 222028829 TIMESTAMP 2020-10-15 16:21:46.304162
INFO:__main__:Sending keep_alive response with sequence id 222028829
INFO:__main__:Telemetry message received from <ip address> at 2020-10-15 10:51:49
INFO:__main__:Message TYPE CNDP_TELEMETRY_EVENT_MSG - ENCODING CNDP_MSG_ENCODING_TDL - VERSION 1 - FLAGS NO_FLAG - LENGTH 391
INFO:__main__:{
"subscription_id": 11,
"capture_time": {
"second": 1602759106,
"microsec": 937026
},
"data": {
"result": {
"exec_ctx": "ios_emul_oper_db_context",
"params_id": {
"which": [],
"which_union": {}
},
"result_code": "GREEN_RES_OK",
"notf_str": "",
"err_str": "",
"num_entry": 0
},
"data": {
"table_luid": [
"tbl_isis_neighbor",
"190 55 188 213 227 103 66 189 42 56 218 39 4 45 119 7"
],
"cursor": {
"len": 0,
"data": "",
"issu_checking": 0
},
"num_entry": 1,
"entry": [
{
"keys": {
"num_key_field_ids": 0,
"num_key_luids": 0,
"num_key": 0,
"field_ids": "",
"luids": [],
"keys": [],
"num_src_ids": 0,
"src_ids": ""
},
"op": "GREEN_RECORD_UPDATE",
"len": 164,
"entry_data": {
"isis_neighbor_rec": {
"ipv4_address": "ip address",
"ipv6_address": null,
"state": "ISIS_INIT",
"holdtime": 29
},
"isis_neighbor_key": {
"system_id": {
"addr_len": 6,
"addr": "0 0 0 0 0 50"
},
"level": "ISIS_LEVEL_1",
"if_name": "GigabitEthernet0/1/5"
}
},
"e": [],
"ext_metadata": {
"t": "GREEN_EXT_META_NONE",
"t_union": {}
},
"link_entry_info_list": []
}
]
}
},
"location": {
"fru": "BINOS_FRU_RP",
"slot": 0,
"bay": 0,
"chassis": -1,
"node": 0
}
}
INFO:__main__:Telemetry message received from <ip address> at 2020-10-15 10:51:50
INFO:__main__:Message TYPE CNDP_TELEMETRY_EVENT_MSG - ENCODING CNDP_MSG_ENCODING_TDL - VERSION 1 - FLAGS NO_FLAG - LENGTH 391
INFO:__main__:{
"subscription_id": 11,
"capture_time": {
"second": 1602759107,
"microsec": 977053
},
"data": {
"result": {
"exec_ctx": "ios_emul_oper_db_context",
"params_id": {
"which": [],
"which_union": {}
},
"result_code": "GREEN_RES_OK",
"notf_str": "",
"err_str": "",
"num_entry": 0
},
"data": {
"table_luid": [
"tbl_isis_neighbor",
"190 55 188 213 227 103 66 189 42 56 218 39 4 45 119 7"
],
"cursor": {
"len": 0,
"data": "",
"issu_checking": 0
},
"num_entry": 1,
"entry": [
{
"keys": {
"num_key_field_ids": 0,
"num_key_luids": 0,
"num_key": 0,
"field_ids": "",
"luids": [],
"keys": [],
"num_src_ids": 0,
"src_ids": ""
},
"op": "GREEN_RECORD_UPDATE",
"len": 164,
"entry_data": {
"isis_neighbor_rec": {
"ipv4_address": "ip address",
"ipv6_address": null,
"state": "ISIS_UP",
"holdtime": 9
},
"isis_neighbor_key": {
"system_id": {
"addr_len": 6,
"addr": "0 0 0 0 0 50"
},
"level": "ISIS_LEVEL_1",
"if_name": "GigabitEthernet0/1/5"
}
},
"e": [],
"ext_metadata": {
"t": "GREEN_EXT_META_NONE",
"t_union": {}
},
"link_entry_info_list": []
}
]
}
},
"location": {
"fru": "BINOS_FRU_RP",
"slot": 0,
"bay": 0,
"chassis": -1,
"node": 0
}
}
INFO:__main__:Telemetry message received from <ip address> at 2020-10-15 10:51:50
INFO:__main__:Message TYPE CNDP_TELEMETRY_EVENT_MSG - ENCODING CNDP_MSG_ENCODING_TDL - VERSION 1 - FLAGS NO_FLAG - LENGTH 391
INFO:__main__:{
"subscription_id": 11,
"capture_time": {
"second": 1602759107,
"microsec": 977747
},
"data": {
"result": {
"exec_ctx": "ios_emul_oper_db_context",
"params_id": {
"which": [],
"which_union": {}
},
"result_code": "GREEN_RES_OK",
"notf_str": "",
"err_str": "",
"num_entry": 0
},
"data": {
"table_luid": [
"tbl_isis_neighbor",
"190 55 188 213 227 103 66 189 42 56 218 39 4 45 119 7"
],
"cursor": {
"len": 0,
"data": "",
"issu_checking": 0
},
"num_entry": 1,
"entry": [
{
"keys": {
"num_key_field_ids": 0,
"num_key_luids": 0,
"num_key": 0,
"field_ids": "",
"luids": [],
"keys": [],
"num_src_ids": 0,
"src_ids": ""
},
"op": "GREEN_RECORD_UPDATE",
"len": 164,
"entry_data": {
"isis_neighbor_rec": {
"ipv4_address": "ip address",
"ipv6_address": null,
"state": "ISIS_INIT",
"holdtime": 30
},
"isis_neighbor_key": {
"system_id": {
"addr_len": 6,
"addr": "0 0 0 0 0 50"
},
"level": "ISIS_LEVEL_2",
"if_name": "GigabitEthernet0/1/5"
}
},
"e": [],
"ext_metadata": {
"t": "GREEN_EXT_META_NONE",
"t_union": {}
},
"link_entry_info_list": []
}
]
}
},
"location": {
"fru": "BINOS_FRU_RP",
"slot": 0,
"bay": 0,
"chassis": -1,
"node": 0
}
}
INFO:__main__:Telemetry message received from <ip address> at 2020-10-15 10:51:51
INFO:__main__:Message TYPE CNDP_TELEMETRY_EVENT_MSG - ENCODING CNDP_MSG_ENCODING_TDL - VERSION 1 - FLAGS NO_FLAG - LENGTH 391
INFO:__main__:{
"subscription_id": 11,
"capture_time": {
"second": 1602759108,
"microsec": 963576
},
"data": {
"result": {
"exec_ctx": "ios_emul_oper_db_context",
"params_id": {
"which": [],
"which_union": {}
},
"result_code": "GREEN_RES_OK",
"notf_str": "",
"err_str": "",
"num_entry": 0
},
"data": {
"table_luid": [
"tbl_isis_neighbor",
"190 55 188 213 227 103 66 189 42 56 218 39 4 45 119 7"
],
"cursor": {
"len": 0,
"data": "",
"issu_checking": 0
},
"num_entry": 1,
"entry": [
{
"keys": {
"num_key_field_ids": 0,
"num_key_luids": 0,
"num_key": 0,
"field_ids": "",
"luids": [],
"keys": [],
"num_src_ids": 0,
"src_ids": ""
},
"op": "GREEN_RECORD_UPDATE",
"len": 164,
"entry_data": {
"isis_neighbor_rec": {
"ipv4_address": "ip address",
"ipv6_address": null,
"state": "ISIS_UP",
"holdtime": 9
},
"isis_neighbor_key": {
"system_id": {
"addr_len": 6,
"addr": "0 0 0 0 0 50"
},
"level": "ISIS_LEVEL_2",
"if_name": "GigabitEthernet0/1/5"
}
},
"e": [],
"ext_metadata": {
"t": "GREEN_EXT_META_NONE",
"t_union": {}
},
"link_entry_info_list": []
}
]
}
},
"location": {
"fru": "BINOS_FRU_RP",
"slot": 0,
"bay": 0,
"chassis": -1,
"node": 0
}
}