ClusterLabs / ClusterLabs/resource-agents
IPv6 notation for ocf:heartbeat:IPaddr2
- Dominant language
- Shell
- Stars
- 519
- Forks
- 608
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 7
Description
Hi,
We are trying to add a resource to a group. For us only the short IPv6 notation works.
fd5d:d50a:8c17:2040::251
pcs resource create MNGT_VIP ocf:heartbeat:IPaddr2 ip=fd5d:d50a:8c17:2040::251 op monitor interval=10s --group MNGT
But if we try the below IPv6 notation
fd5d:d50a:8c17:2040:0000:0000:0000:0251
fd5d:d50a:8c17:2040:0:0:0:0251
And same with Upper Case notation.
We wanted to know is there any restriction from pcs package for specific IPv6 notation.
Can you please help.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the ocf:heartbeat:IPaddr2 resource entry point and reproduce the reported commands with the compressed and expanded IPv6 forms, including uppercase notation. Trace how the ip value is parsed and validated, then define completion as consistent handling of the listed IPv6 notations or a clear documented restriction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100