Add twentyFiveGigE to port descriptions in inspector rules

Change-Id: I0c41d59123aba3351ac3b0a5a76cff517cca93e4
This commit is contained in:
Pierre Riteau 2021-08-19 10:39:35 +02:00
parent a48cc24988
commit 91b2dddc41
2 changed files with 9 additions and 0 deletions

View File

@ -213,6 +213,10 @@ inspector_rule_lldp_switch_port_desc_to_name:
op: "matches"
value: "^TenGigabitEthernet ?([0-9/]*)$"
invert: True
- field: "data://all_interfaces.{{inspector_rule_var_lldp_switch_port_interface}}.lldp_processed.switch_port_description"
op: "matches"
value: "^twentyFiveGigE ?([0-9/]*)$"
invert: True
- field: "data://all_interfaces.{{inspector_rule_var_lldp_switch_port_interface}}.lldp_processed.switch_port_description"
op: "matches"
value: "^fortyGigE ?([0-9/]*)$"

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Filter out 25 Gigabit Ethernet interface names in the Ironic inspector rule
setting node names from interface LLDP switch port descriptions.