-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-10.2
-
None
-
None
-
rhel-net-mgmt
-
None
-
False
-
False
-
-
None
-
None
-
-
Requested
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
None
What were you trying to do that didn't work?
Got failure when applying this YAML via `nmstatectl apply`:
--- interfaces: - name: eth1 type: ethernet state: up ipv4: address: - ip: 192.0.2.1 prefix-length: 24 dhcp: false enabled: true forwarding: "true"
What is the impact of this issue to you?
None.
Please provide the package NVR for which the bug is seen:
nmstate-2.2.58-1.el10
How reproducible is this bug?:
100%
Steps to reproduce
echo '--- interfaces: - name: eth1 type: ethernet state: up ipv4: address: - ip: 192.0.2.1 prefix-length: 24 dhcp: false enabled: true forwarding: "true"' | sudo nmstatectl apply -
Expected results
No error
Actual results
Provide file is not valid NetworkState or NetworkPolicy: interfaces: invalid type: string "true", expected a boolean at line 3 column 3