Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1264089

Summary: cannot add adsl type connection
Product: Red Hat Enterprise Linux 7 Reporter: Vladimir Benes <vbenes>
Component: NetworkManagerAssignee: Jirka Klimes <jklimes>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.2CC: bgalvani, dcbw, jklimes, rkhan, thaller, tlavigne
Target Milestone: rc   
Target Release: 7.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: NetworkManager-1.0.6-8.el7 Doc Type: Bug Fix
Doc Text:
nmcli has enabled adding ADSL connections via 'nmcli connection add' command.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 11:04:31 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 Vladimir Benes 2015-09-17 13:41:32 UTC
Description of problem:
[vbenes@trautenberg nmcli (rhel-7)]$ nmcli  -a connection add 
Valid types: [generic, 802-3-ethernet (ethernet), pppoe, 802-11-wireless (wifi), wimax, gsm, cdma, infiniband, adsl, bluetooth, vpn, 802-11-olpc-mesh (olpc-mesh), vlan, bond, team, bridge, bond-slave, team-slave, bridge-slave]
Connection type: adsl
Interface name [*]: 
Error: 'adsl' is not a valid connection type.


Version-Release number of selected component (if applicable):
NetworkManager-1.0.6-6.el7.x86_64
NetworkManager-adsl-1.0.6-6.el7.x86_64

Comment 1 Jirka Klimes 2015-09-18 11:24:57 UTC
Creating ADSL connections with "nmcli con add" has never been implemented. So we should have not shown 'adsl' as a valid type in the first place.

Anyway, I have added the support for adsl to 'nmcli connection add' now. And also included two adsl related fixes.
See upstream branch jk/nmcli-con-add-adsl-rh1264089.

Comment 2 Thomas Haller 2015-09-19 13:40:12 UTC
missing bash-completion for the new options.

rest LGTM

Comment 3 Beniamino Galvani 2015-09-21 07:32:14 UTC
Looks good.

Comment 4 Jirka Klimes 2015-09-21 19:33:19 UTC
(In reply to Thomas Haller from comment #2)
> missing bash-completion for the new options.

Added.

Committed upstream,
master:
e9f9f4e merge: fix ADSL in nmcli and libnm-core/libnm-utils (rh #1264089)
290c162 cli: allow creating ADSL connections with 'nmcli connection add' (rh #1264089)
5502d86 cli: initialize adsl.protocol in editor when creating a new connection
3d64d45 libnm-core/libnm-util: fix an assertion in adsl setting

nm-1-0:
3e26774 merge: fix ADSL in nmcli and libnm-core/libnm-utils (rh #1264089)
b590a31 cli: allow creating ADSL connections with 'nmcli connection add' (rh #1264089)
9bca3b7 cli: initialize adsl.protocol in editor when creating a new connection
1f7be49 libnm-core/libnm-util: fix an assertion in adsl setting

Comment 6 errata-xmlrpc 2015-11-19 11:04:31 UTC
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, 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://rhn.redhat.com/errata/RHSA-2015-2315.html