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

nokia / danm
34%
master: 44%

Build:
Build:
LAST BUILD BRANCH: api_group_migration
DEFAULT BRANCH: master
Repo Added 05 Mar 2019 09:18PM UTC
Files 0
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

LAST BUILD ON BRANCH fix_netype_bug
branch: fix_netype_bug
CHANGE BRANCH
x
Reset
  • fix_netype_bug
  • add-copyright-headers
  • akraino-install-guide-link
  • alloc6_api
  • api_group_migration
  • binaries
  • category_all
  • central_ipam_fixes
  • cmd_intro
  • cni_del_fix
  • cni_res_fix
  • cnidel_steroid
  • cnidel_uts
  • concurrent_confman
  • configure_naming
  • damn-danm
  • deploy-guide
  • device_handling_fixes
  • dis_dad
  • dnet_apitype_fix
  • dummy_cosmetics
  • dummy_encsa
  • fix_add_gc
  • fix_confman_core
  • fix_ip_delegation
  • fix_none_ip
  • fixin_uts
  • formatting
  • go_12_9
  • intel_dpdk
  • intel_vf_wa
  • ip6conf_for_none
  • ipam_for_everyone
  • ipam_prefix_change
  • ipam_store_last_ip
  • ipam_uts
  • ipv6_cudo
  • k8s_1.21_fix
  • logo-with-name
  • master
  • metacni_fourdoto
  • netadmit_uts
  • netdel_ut
  • netwatcher_fourdoto
  • netwatcher_healthcheck
  • netwatcher_modify
  • netwatcher_nad
  • networktype_separation
  • new_apis
  • outage
  • perf_fix
  • pod_id_to_ep
  • prefix_fix
  • readme_facelift
  • route_device_fix
  • route_man_fix
  • rutas
  • set_ndisc_noti
  • slack-links
  • store_client
  • svcw_update_fix
  • svcwatcher_fourdoto
  • svcwatcher_healthcheck
  • svcwatcher_ns
  • svcwatcher_update_eps
  • syncher_ut
  • tconf_hook_ut
  • tenantnet_setup
  • typo-correction
  • uid_weeding
  • update_delegation
  • v3.2.0
  • v3.3.0
  • v4.0.0
  • v4.1.0
  • v4.2.0
  • v4.2.0-RC1
  • v4.2.0-rc2
  • v4.2.0-rc3
  • v4.2.1
  • v6_alloc
  • v6_stat
  • validate_max_netmask
  • validate_new_apis
  • validation_type_change
  • versioning
  • webhook
  • wording/changes
  • y_u_no_free

24 Apr 2019 12:16PM UTC coverage: 34.344%. Remained the same
276

push

travis-ci

Levovar
Fixing iface deletion bug when netIds don't match

The project assumes that a DanmNet's NetworkID and ObjectMeta.Name parameters always match.
This is even outlined inthe schema descriptor.
However, recently we have introduced some changes which broke this assumption.
First, with the "default" feature, and then lately with the variable static delegate configuration.
The user might not even perceive it, but as a result of these changes interfaces weren't properly cleaned-up during CNI DEL invocations.
Instead of re-writing the whole codebase, we save the real name of the network as well into the interface's DanmEp, and use this parameter when we read the network descriptor during the deletion of the interface.
Meaning of NetworkID parameter left untouched in all the other places, but eventually, we need to revise when to sue which parameter.

Commit contains one more smal,, but important change: the first interface of a Pod will be always named "eth0" from now on.
This change will make it impossible for users to accidentally screw-up network naming, and thus kill their own Pod.

555 of 1616 relevant lines covered (34.34%)

9.1 hits per line

Relevant lines Covered
Build:
Build:
1616 RELEVANT LINES 555 COVERED LINES
9.1 HITS PER LINE
Source Files on fix_netype_bug
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
276 fix_netype_bug Fixing iface deletion bug when netIds don't match The project assumes that a DanmNet's NetworkID and ObjectMeta.Name parameters always match. This is even outlined inthe schema descriptor. However, recently we have introduced some changes which b... push 24 Apr 2019 12:25PM UTC Levovar travis-ci
34.34
277 fix_netype_bug Fixing iface deletion bug when netIds don't match The project assumes that a DanmNet's NetworkID and ObjectMeta.Name parameters always match. This is even outlined inthe schema descriptor. However, recently we have introduced some changes which b... Pull #80 24 Apr 2019 12:25PM UTC web-flow travis-ci
34.34
275 fix_netype_bug Fixing iface deletion bug when netIds don't match The project assumes that a DanmNet's NetworkID and ObjectMeta.Name parameters always match. This is even outlined inthe schema descriptor. However, recently we have introduced some changes which b... Pull #80 23 Apr 2019 04:48PM UTC web-flow travis-ci
34.34
274 fix_netype_bug Fixing iface deletion bug when netIds don't match The project assumes that a DanmNet's NetworkID and ObjectMeta.Name parameters always match. This is even outlined inthe schema descriptor. However, recently we have introduced some changes which b... push 23 Apr 2019 04:47PM UTC Levovar travis-ci
34.34
271 fix_netype_bug Fixing the meaning of "container_prefix" Currently this API attribute means "exact name of a container" interface, but it was never the original intention. It was just a temporary change when we have moved to the asynchronous provisioning method.... push 18 Apr 2019 09:27AM UTC Levovar travis-ci
34.46
See All Builds (730)
  • Repo on GitHub
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

© 2025 Coveralls, Inc