Skip to content

Instantly share code, notes, and snippets.

View djkonro's full-sized avatar
🎯
Focusing

Konrad Djimeli djkonro

🎯
Focusing
View GitHub Profile
running install
running build
running build_ext
checking for getifaddrs...found.
checking for getnameinfo...found.
checking for IPv6 socket IOCTLs...not found.
checking for optional header files...netash/ash.h netatalk/at.h netax25/ax25.h neteconet/ec.h netipx/ipx.h netpacket/packet.h linux/irda.h linux/atm.h linux/llc.h linux/tipc.h linux/dn.h.
checking whether struct sockaddr has a length field...no.
checking which sockaddr_xxx structs are defined...at ax25 in in6 ipx un ash ec ll atmpvc atmsvc dn irda llc.
checking for routing socket support...no.
virtual5:~/joid/ci$ ./03-maasdeploy.sh virtual
+ source common/tools.sh
++ '[' '!' -z '' ']'
++ readonly _tools_included=true
++ _tools_included=true
+ '[' virtual == help ']'
+ '[' virtual == -h ']'
+ '[' virtual == --help ']'
+ virtinstall=0
+ labname=virtual

Functional testing for OPNFV Kubernetes(K8s) deployments with Functest

By: Konrad Djimeli (OPNFV Functest Intern)

Mentor: Linda Wang ([email protected])

Overview

Development or integration of tests which can be used to test the functionalities of a Kubernetes deployment, in OPNFV Functest

local basic_apps = require("apps.basic.basic_apps")
local xdpsock = require("apps.socket.af_xdp.xdpsock")
local raw = require("apps.socket.raw")
local ffi = require("ffi")
local C = ffi.C
function run ()
npackets = 100e6
npackets = tonumber(npackets) or error("Invalid number of packets: " .. npackets)
local c = config.new()
@djkonro
djkonro / socket.c
Last active October 18, 2018 08:59
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <signal.h>
#include <sys/socket.h>
#include <net/if.h>
#include <linux/if_ether.h>
#include <linux/if_packet.h>
#include <arpa/inet.h>