Bug 2062719
| Summary: | RFE: Nmstate should accept integer and string digit values in integer properties | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Fernando F. Mancera <ferferna> |
| Component: | nmstate | Assignee: | Gris Ge <fge> |
| Status: | CLOSED ERRATA | QA Contact: | Mingyu Shi <mshi> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.0 | CC: | ferferna, jiji, jishi, mshi, network-qe, till |
| Target Milestone: | rc | Keywords: | FutureFeature, Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-11-15 10:00:44 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Fernando F. Mancera
2022-03-10 12:15:53 UTC
This is required for all scalar values (effectively probably numbers and booleans), so I updated the summary and acceptance criteria. Merged and tested manually. In addition, the CI is full green. *** Bug 2048045 has been marked as a duplicate of this bug. *** Waiting for the next all-rust build to do the test, to avoid reworking. Verified with versions:
nmstate-2.1.1-0.alpha.20220519.437e4a9.el9.x86_64
NetworkManager-1.39.5-1.el9.x86_64
Linux hp-dl388g8-08.rhts.eng.pek2.redhat.com 5.14.0-101.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 27 07:57:32 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux
DISTRO=RHEL-9.1.0-20220531.0
# cat eno4.yaml
interfaces:
- name: eno4
type: ethernet
state: up
mac-address: "D8:9D:67:15:89:43"
mtu: "1500"
ipv4:
enabled: false
ipv6:
enabled: "1"
dhcp: 1
# nmstatectl set eno4.yaml
Using 'set' is deprecated, use 'apply' instead.
---
dns-resolver: {}
route-rules: {}
routes: {}
interfaces:
- name: eno4
type: ethernet
state: up
mac-address: "D8:9D:67:15:89:43"
mtu: 1500
ipv4:
enabled: false
ipv6:
enabled: true
dhcp: true
ovs-db: {}
# nmstatectl show eno4
---
dns-resolver: {}
route-rules: {}
routes: {}
interfaces:
- name: eno4
type: ethernet
state: up
mac-address: "D8:9D:67:15:89:43"
mtu: 1500
ipv4:
enabled: false
ipv6:
enabled: true
dhcp: true
autoconf: false
address:
- ip: "fe80::da9d:67ff:fe15:8943"
prefix-length: 64
auto-dns: true
auto-gateway: true
auto-routes: true
auto-route-table-id: 0
accept-all-mac-addresses: false
lldp:
enabled: false
ethtool:
pause:
rx: true
tx: true
autoneg: true
feature:
tx-tcp-mangleid-segmentation: false
rx-checksum: true
tx-tcp-segmentation: true
rx-gro: true
tx-checksum-ipv4: true
tx-tcp-ecn-segmentation: true
tx-checksum-ipv6: true
tx-generic-segmentation: true
rx-gro-list: false
tx-tcp6-segmentation: true
highdma: true
tx-nocache-copy: false
rx-udp-gro-forwarding: false
coalesce:
rx-frames: 5
rx-usecs: 20
rx-usecs-irq: 0
stats-block-usecs: 0
tx-frames: 53
tx-frames-irq: 5
tx-usecs: 72
tx-usecs-irq: 0
ring:
rx: 200
rx-max: 2047
tx: 511
tx-max: 511
ethernet:
auto-negotiation: true
speed: 1000
duplex: full
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (nmstate bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:7991 |