Component
No response
Infrahub SDK version
v1.19.0
Current Behavior
The protocol definitions for IPHost values are listed as being of type ipaddress.IPv4Address | ipaddress.IPv6Address this assumes a bare ip address i.e. "192.168.1.1", but the actual response is in the format "192.168.1.1/24" i.e. ipaddress.IPv4Interface | ipaddress.IPv6Interface
Expected Behavior
The protocol class should use the correct format
Steps to Reproduce
View the code here:
https://github.com/opsmill/infrahub-sdk-python/blob/v1.19.0/infrahub_sdk/protocols_base.py#L127-L132
Additional Information
No response
Component
No response
Infrahub SDK version
v1.19.0
Current Behavior
The protocol definitions for
IPHostvalues are listed as being of typeipaddress.IPv4Address | ipaddress.IPv6Addressthis assumes a bare ip address i.e. "192.168.1.1", but the actual response is in the format "192.168.1.1/24" i.e.ipaddress.IPv4Interface | ipaddress.IPv6InterfaceExpected Behavior
The protocol class should use the correct format
Steps to Reproduce
View the code here:
https://github.com/opsmill/infrahub-sdk-python/blob/v1.19.0/infrahub_sdk/protocols_base.py#L127-L132
Additional Information
No response