• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nmstate / nmstate / 4943

Build:
DEFAULT BRANCH: master
Ran 06 Mar 2020 08:03AM UTC
Jobs 5
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
4943

push

travis-ci-com

cathay4t
nm: Use new AddConnection2 and Update2 methods

As suggested by NetworkManager team,
 * Use `NM.Client.add_connection2()` to create profile.
 * Use `NM.RemoteConnection.update2()` to profile modification.

Both of them will use `BLOCK_AUTOCONNECT` to stop NetworkManager from
activating the profile.

Both `update2()` and `add_connection2()` will save configuration to
disk, hence remove the unused `libnmstate.nm.connection.commit()` and
related functions. This also simplified the configuration apply process,
a simple `libnmstate.nm.applier.apply_changes()` take interface state
and hide all the NM details.

Unlike previous `replace_settings_from_connection() then commit()`
procedure which use old profile for follow up activation, the activation
should use new profile which was sent to `update2()`.

Signed-off-by: Gris Ge <fge@redhat.com>
Jobs
ID Job ID Ran Files Coverage
2 4943.2 (use_coveralls=true CONTAINER_IMAGE=quay.io/nmstate/centos8-nmstate-dev testflags="--test-type integ_slow --pytest-args='-x' --copr networkmanager/NetworkManager-1.22-git") 06 Mar 2020 08:15AM UTC 0
Travis Job 4943.2
3 4943.3 (use_coveralls=true CONTAINER_IMAGE=quay.io/nmstate/centos8-nmstate-dev testflags="--test-type format") 06 Mar 2020 08:04AM UTC 0
Travis Job 4943.3
4 4943.4 (use_coveralls=true CONTAINER_IMAGE=quay.io/nmstate/centos8-nmstate-dev testflags="--test-type lint") 06 Mar 2020 08:04AM UTC 0
Travis Job 4943.4
5 4943.5 (use_coveralls=true CONTAINER_IMAGE=quay.io/nmstate/centos8-nmstate-dev testflags="--test-type unit_py36") 06 Mar 2020 08:04AM UTC 0
Travis Job 4943.5
6 4943.6 (use_coveralls=true CONTAINER_IMAGE=quay.io/nmstate/centos8-nmstate-dev testflags="--test-type integ --pytest-args='-x' --copr networkmanager/NetworkManager-master") 06 Mar 2020 08:13AM UTC 0
Travis Job 4943.6
Source Files on build 4943
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #4943
  • cc59f3d3 on github
  • Prev Build on master (#4942)
  • Next Build on master (#4946)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc