Skip to content
Snippets Groups Projects
Commit 91b2dddc authored by Pierre Riteau's avatar Pierre Riteau
Browse files

Add twentyFiveGigE to port descriptions in inspector rules

Change-Id: I0c41d59123aba3351ac3b0a5a76cff517cca93e4
parent a48cc249
No related branches found
No related tags found
No related merge requests found
...@@ -213,6 +213,10 @@ inspector_rule_lldp_switch_port_desc_to_name: ...@@ -213,6 +213,10 @@ inspector_rule_lldp_switch_port_desc_to_name:
op: "matches" op: "matches"
value: "^TenGigabitEthernet ?([0-9/]*)$" value: "^TenGigabitEthernet ?([0-9/]*)$"
invert: True 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" - field: "data://all_interfaces.{{inspector_rule_var_lldp_switch_port_interface}}.lldp_processed.switch_port_description"
op: "matches" op: "matches"
value: "^fortyGigE ?([0-9/]*)$" value: "^fortyGigE ?([0-9/]*)$"
......
---
fixes:
- |
Filter out 25 Gigabit Ethernet interface names in the Ironic inspector rule
setting node names from interface LLDP switch port descriptions.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment