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

noironetworks / opflex / 286
68%

Build:
DEFAULT BRANCH: master
Ran 18 Apr 2020 07:39AM UTC
Jobs 1
Files 251
Run time 15s
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
286

push

travis-ci

gautvenk
Adding support for collecting per-pod level stats for external LB (on-prem) services:

- reusing service snat and dnat flows to collect rx/tx stats of on-prem service pods
- to avoid adding extra flows in stats table, reg12 carries ctMark (from service dnat flow) so that cluster service pod flows dont hit (bit 1<<31 indicates traffic received from onprem). In case of on-prem service egress, service snat flows will give output action. Matching reg12 for both directions just to look uniform.
- handled all transient cases of service updates (NH add/mod/delete) and EP updates (Ip add/del/update and if that EP is also the NH/service-pod of the service). idgen cookies are managed accordingly. service snat/dnat flows get updated with cookie/flag accordingly. Verified these transient cases using mock_server on local vm.
- added make check tests with prometheus integration
- tested on hx setup with traffic.

noiro@k8s17-node-1:~$ kubectl get service
NAME         TYPE           CLUSTER-IP     EXTERNAL-IP   PORT(S)          AGE
ngnix        LoadBalancer   10.100.4.173   10.3.0.2      9988:31604/TCP   2d1h

service dnat flows: (new changes: cookie, flag and reg12)
 cookie=0x7, duration=216.197s, table=6, n_packets=14, n_bytes=1276, send_flow_rem priority=99,tcp,reg6=0x1,metadata=0x200/0x200,nw_dst=10.3.0.2,tp_dst=9988 actions=set_field:80->tcp_dst,set_field:10.2.0.98->ip_dst,dec_ttl,load:0xa030002->NXM_NX_REG8[],load:0x80000004->NXM_NX_REG12[],ct(commit,zone=2,exec(load:0x80000004->NXM_NX_CT_MARK[])),write_metadata:0x400/0x400,goto_table:7
 cookie=0x5, duration=216.197s, table=6, n_packets=0, n_bytes=0, send_flow_rem priority=99,tcp,reg6=0x1,metadata=0/0x200,nw_dst=10.100.4.173,tp_dst=9988 actions=set_field:80->tcp_dst,set_field:10.2.0.98->ip_dst,dec_ttl,load:0xa6404ad->NXM_NX_REG8[],load:0x3->NXM_NX_REG12[],ct(commit,zone=2,exec(load:0x3->NXM_NX_CT_MARK[])),write_metadata:0x400/0x400,goto_table:7

service snat flows: (new changes: cookie, flag)
 cookie=0x8, dura... (continued)

17932 of 24486 relevant lines covered (73.23%)

3046.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 286.1 18 Apr 2020 07:39AM UTC 0
73.23
Travis Job 286.1
Source Files on build 286
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #286
  • 0c30501f on github
  • Prev Build on master (#285)
  • Next Build on master (#288)
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