Skip to content

cli: Expose global metered state in nmcli

Summary

This MR implements #681 (closed) and makes the global metered property, which indicates data usage limitations or additional costs for the active connection, visible in the output of the nmcli general command. Previously, this property could only be fetched from D-Bus or via libnm function nm_client_get_metered() as explained in #681 (closed)

Purpose

This change will enable users to directly see the global metered status in the nmcli general command output.

Checklist

  • the subject for all commits is concise and explicative
  • the message for all commits explains the reason for the change
  • the source is properly formatted
  • any relevant documentation is up to date
  • you have added unit tests if applicable
Edited by Stanislas Faye

Merge request reports