-
Notifications
You must be signed in to change notification settings - Fork 735
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added template for Huawei SmartAX: display ont snmp-profile 0 all (#1800
- Loading branch information
1 parent
3dcf455
commit e4491e2
Showing
4 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
ntc_templates/templates/huawei_smartax_display_ont_snmp-profile_0_all.textfsm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Value ONT_ID (\d+) | ||
Value SNMP_PROFILE_ID (\d+) | ||
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* | ||
^. -> Error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
..._smartax/display_ont_snmp-profile_0_all/huawei_smartax_display_ont_snmp-profile_0_all.raw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-------------------------------------------------------------------- | ||
ONT ID SNMP profile ID SNMP profile name | ||
-------------------------------------------------------------------- | ||
1 1 snmp-profile_1 | ||
-------------------------------------------------------------------- |
5 changes: 5 additions & 0 deletions
5
..._smartax/display_ont_snmp-profile_0_all/huawei_smartax_display_ont_snmp-profile_0_all.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
parsed_sample: | ||
- ont_id: "1" | ||
snmp_profile_id: "1" | ||
snmp_profile_name: "snmp-profile_1" |