Skip to content
  • Jiří Klimeš's avatar
    cli: consolidate active and configured connections (rh #997999) · 26f88892
    Jiří Klimeš authored
    Handle connection profiles in a single 'show' command instead of 'show active'
    and 'show configured'.
    
    nmcli con show [--active] [[id|uuid|path|apath] <bla>]
    
    nmcli con show           : display all connection profiles
    nmcli con show --active  : only display active connection profiles
                               (filters out inactive profiles)
    
    nmcli con show myeth     : display details of "myeth" profile, and also active
                               connection info (if the profile is active)
    nmcli -f profile con show myeth : only display "myeth"'s static configuration
    nmcli -f active  con show myeth : only display active details of "myeth"
    nmcli -f connection.id,ipv4,general con show myeth
                                              : display "connection.id"a property
                                                "ipv4" setting and "GENERAL" group
                                                of active data
    
    https://bugzilla.redhat.com/show_bug.cgi?id=997999
    26f88892