[LU-7563] print a console warning for inconsistent LNet ip2nets configurations Created: 16/Dec/15  Updated: 16/Dec/15

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Andreas Dilger Assignee: Amir Shehata (Inactive)
Resolution: Unresolved Votes: 0
Labels: lnet

Rank (Obsolete): 9223372036854775807

 Description   

If an interface is explicity specified as well as a pattern, the interface matched using the IP pattern should be sanitized against the explicitly defined interface, or print a warning. For example, tcp(eth0) 192.168.*.3 and there exists in the system eth0 == 192.158.19.3 and eth1 == 192.168.3.3, then configuration is inconsistent, because the pattern contradicts the interface specified.

A clear warning should be displayed if inconsistent configuration is encountered so that this doesn't cause problems in the future.



 Comments   
Comment by Olaf Weber [ 16/Dec/15 ]

I imagine something like
ip2nets pattern "tcp(eth0) 192.168.*.3" matches eth1, which is not mentioned in "tcp(eth0)"

Generated at Sat Feb 10 02:09:58 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.