diff --git a/ntc_templates/templates/huawei_smartax_display_ont_snmp-profile_0_all.textfsm b/ntc_templates/templates/huawei_smartax_display_ont_snmp-profile_0_all.textfsm index 3c81aab171..9fd8cda0ff 100644 --- a/ntc_templates/templates/huawei_smartax_display_ont_snmp-profile_0_all.textfsm +++ b/ntc_templates/templates/huawei_smartax_display_ont_snmp-profile_0_all.textfsm @@ -4,6 +4,6 @@ Value SNMP_PROFILE_NAME (\S+) Start ^\s*ONT\s*ID\s*SNMP\s*profile\s*ID\s*SNMP\s*profile\s*name\s* - ^\s*${ONT_ID}\s*${SNMP_PROFILE_ID}\s*${SNMP_PROFILE_NAME} + ^\s*${ONT_ID}\s*${SNMP_PROFILE_ID}\s*${SNMP_PROFILE_NAME} -> Record ^\s* ^. -> Error diff --git a/tests/huawei_smartax/display_ont_snmp-profile_0_all/huawei_smartax_display_ont_snmp-profile_0_all.raw b/tests/huawei_smartax/display_ont_snmp-profile_0_all/huawei_smartax_display_ont_snmp-profile_0_all.raw index 09d2030749..9b87c58982 100644 --- a/tests/huawei_smartax/display_ont_snmp-profile_0_all/huawei_smartax_display_ont_snmp-profile_0_all.raw +++ b/tests/huawei_smartax/display_ont_snmp-profile_0_all/huawei_smartax_display_ont_snmp-profile_0_all.raw @@ -2,4 +2,5 @@ ONT ID SNMP profile ID SNMP profile name -------------------------------------------------------------------- 1 1 snmp-profile_1 + 2 1 snmp-profile_1 -------------------------------------------------------------------- diff --git a/tests/huawei_smartax/display_ont_snmp-profile_0_all/huawei_smartax_display_ont_snmp-profile_0_all.yml b/tests/huawei_smartax/display_ont_snmp-profile_0_all/huawei_smartax_display_ont_snmp-profile_0_all.yml index 87a523196b..0f76cc90c6 100644 --- a/tests/huawei_smartax/display_ont_snmp-profile_0_all/huawei_smartax_display_ont_snmp-profile_0_all.yml +++ b/tests/huawei_smartax/display_ont_snmp-profile_0_all/huawei_smartax_display_ont_snmp-profile_0_all.yml @@ -3,3 +3,6 @@ parsed_sample: - ont_id: "1" snmp_profile_id: "1" snmp_profile_name: "snmp-profile_1" + - ont_id: "2" + snmp_profile_id: "1" + snmp_profile_name: "snmp-profile_1"