generated from TrueCloudLab/basic
[#67] chain: Support IPAddress conditions #67
No reviewers
Labels
No labels
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
5 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/policy-engine#67
Loading…
Reference in a new issue
No description provided.
Delete branch "dkirillov/policy-engine:feature/ip_conditions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Signed-off-by: Denis Kirillov d.kirillov@yadro.com
[#XX] chain: Support IPAddress conditionsto [#67] chain: Support IPAddress conditionsfe3864d3c6
todadc43e5e7
@ -303,2 +306,4 @@
}
func ipConvertFunction(val string) (string, error) {
parsedIP, _, err := net.ParseCIDR(val)
Consider using
netip
package, it should be more optimized (ParseCIDR
isnetip.ParsePrefix
, other functions also should be present there).dadc43e5e7
to55e98f4a3a
55e98f4a3a
toc146ab165e