This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[openswitch]$ make testenv_rerun feature ops-cli [ops-build] | |
Build System for openswitch | |
Platform: genericx86-64 | |
[sudo] password for bluecmd: | |
Collecting the requested code to run feature tests... | |
ops-cli: fetching tests from git... | |
HEAD is now at e84be71 ops-utils call for setting and getting tag and trunked VLANs for port table. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[openswitch]$ find build/tmp/buildstats/openswitch-disk-image-genericx86-64/201608172224 | grep -E 'do_(deploy|package)' | grep -v setscene | xargs ls -ltr [ops-build] | |
-rw-rw-r-- 1 bluecmd bluecmd 173 Aug 17 22:30 build/tmp/buildstats/openswitch-disk-image-genericx86-64/201608172224/binutils-cross-x86_64-2.25-r0/do_package_qa | |
-rw-rw-r-- 1 bluecmd bluecmd 177 Aug 17 22:30 build/tmp/buildstats/openswitch-disk-image-genericx86-64/201608172224/gcc-cross-initial-x86_64-4.9.2-r0/do_package_qa | |
-rw-rw-r-- 1 bluecmd bluecmd 169 Aug 17 22:30 build/tmp/buildstats/openswitch-disk-image-genericx86-64/201608172224/gcc-cross-x86_64-4.9.2-r0/do_package_qa | |
-rw-rw-r-- 1 bluecmd bluecmd 161 Aug 17 22:31 build/tmp/buildstats/openswitch-disk-image-genericx86-64/201608172224/go-cross-1.6.3-r0/do_package_qa | |
-rw-r--r-- 1 bluecmd bluecmd 171 Aug 17 22:47 build/tmp/buildstats/openswitch-disk-image-genericx86-64/201608172224/packagegroup-openswitch-1.0-r1/do_package | |
-rw-r-- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo nohup /lib/ld-linux-x86-64.so.2 ./ovsdb_exporter -ovsdb.protocol=unix -ovsdb.address=/var/run/openvswitch/db.sock | |
wget http://localhost:9201/metrics | |
kek-core:~$ grep -v " 0" out | |
# HELP Interface_collisions OVSDB proxied metric | |
# TYPE Interface_collisions counter | |
# HELP Interface_ipv4_mc_rx_bytes OVSDB proxied metric | |
# TYPE Interface_ipv4_mc_rx_bytes counter | |
# HELP Interface_ipv4_mc_rx_packets OVSDB proxied metric | |
# TYPE Interface_ipv4_mc_rx_packets counter | |
# HELP Interface_ipv4_mc_tx_bytes OVSDB proxied metric |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[openswitch]$ git status [ops-build] | |
On branch master | |
Your branch is up-to-date with 'github/master'. | |
Changes not staged for commit: | |
(use "git add <file>..." to update what will be committed) | |
(use "git checkout -- <file>..." to discard changes in working directory) | |
modified: yocto/openswitch/meta-platform-openswitch-genericx86-64/conf/machine/genericx86-64.conf | |
no changes added to commit (use "git add" and/or "git commit -a") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[openswitch]$ git status [ops-build] | |
On branch master | |
Your branch is up-to-date with 'github/master'. | |
Untracked files: | |
(use "git add <file>..." to include in what will be committed) | |
bisect | |
nothing added to commit but untracked files present (use "git add" to track) | |
[openswitch]$ git log -n1 [ops-build] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ops-ci]$ make testenv_rerun feature ops-supportability [ops-build] | |
Build System for openswitch | |
Platform: genericx86-64 | |
Collecting the requested code to run feature tests... | |
ops-supportability: fetching tests from git... | |
HEAD is now at 3135607 Remove connection code for direct socket paths |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO:root:Waiting for cur_hw... | |
INFO:root:Waiting for cur_cfg... | |
INFO:root:Waiting for switchd pid... | |
INFO:root:Waiting for ops-switchd to become active... | |
INFO:root:Wait for final hostname... | |
INFO:root:Checking restd service status... | |
INFO:root:Starting restd daemon... | |
INFO:root:Checking restd service started... | |
>>> [001] :: test_portd_events:397 | |
... Sleeping 30 sec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define _GNU_SOURCE | |
#include <alloca.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <dlfcn.h> | |
typedef ssize_t (*execve_func_t)(const char* filename, char* const argv[], char* const envp[]); | |
static execve_func_t old_execve = NULL; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> def a(foo, bar=[]): | |
... bar.append(foo) | |
... print bar | |
... | |
>>> a(1) | |
[1] | |
>>> a(2) | |
[1, 2] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: bgpPeer | |
metadata: | |
peerIP: 172.29.16.2 | |
scope: global | |
spec: | |
asNumber: 64512 | |
(from https://github.com/projectcalico/calico-containers/blob/bffb66da164375777e062aa0fb387cdfe7cb1106/test-data/bgppeer-global.yaml) |