FRR learning day 12 - EVPN routing

TYPE-2 It is rare to add header replication table entries. In general, the peer will send a type3 type route for vtep discovery /* * Install remote VTEP into the kernel if the remote VTEP has asked * for head-end-replication. */ static int zvni_vtep_install(zebra_vni_t *zvni, zebra_vtep_t *zvtep) { if (is_vxlan_flooding_head_end() && ...

Posted by xxreenaxx1 on Fri, 08 Nov 2019 10:15:11 +0100

Learn the other two types of host,none of docker network from scratch

We have already introduced the bridge network, which is more complex. This section introduces two simple networks: host and none. none Network First, we introduce the Network of type none. First look at our Network: duandingyang@duandingyangdeMacBook-Pro  ~/docker/ubuntu-16.04  docker network ls NETWORK ID NAME D ...

Posted by ud2008 on Fri, 01 Nov 2019 20:35:36 +0100

Reptiles, zol Wallpapers

Crawling zol wallpaper with java First find the wallpaper page Get ur: http://desk.zol.com.cn/showpic/1920x1080_4000_10.html Then check the source code to find the information of the picture <img src="https://desk-fd.zol-img.com.cn/t_s1920x1080c5/g5/M00/01/0E/ChMkJ1bKwfWIK7FbAAiTgt3qkBkAALGggICr ...

Posted by gtcol on Wed, 30 Oct 2019 21:24:55 +0100

Flannel working principle and source code implementation of Kubernetes network analysis

Flannel is an open-source CNI network plug-in of cereos. The figure below shows a schematic diagram of a data package provided by flannel official website after packet, transmission and unpacking. From this picture, we can see that the docker0 of two machines are in different segments: 10.1.20.1/24 and 10.1.15.1/24. If you connect the Backend S ...

Posted by ben2.0 on Fri, 18 Oct 2019 06:03:21 +0200

Unique Identification of Android Devices (Multiple Implementation Solutions)

Preface In project development, how many of these requirements will be met: to obtain device Id, which is the unique identifier of the device, for: 1. Identify a unique device and do accurate data dissemination or data statistical analysis; 2. Account and equipment binding; 3..... Analysis This kind of article, there are many information on the ...

Posted by chings on Fri, 11 Oct 2019 05:47:17 +0200

Part I day03 - tuples, dictionaries, strings

The tupleTuple query 1 a = (1,2,3,4) 2 print(a[1:2]) #(2,) Shopping cart exercise (list method exercise) 1 product_list=[ 2 ['Mac',9000], 3 ['kindle',800], 4 ['tesla',900000], 5 ['python book',105], 6 ['bike',2000], 7 ] 8 pubs_list = [] 9 save = input("please input money:") 10 if save.isdigit(): ...

Posted by maddogandnoriko on Fri, 04 Oct 2019 21:27:43 +0200

dpkt package official document parsing Sinicization - -- HTTP Request Example(tcp layer [tcp.data carrier http header request and other information]

Links to the original text: https://dpkt.readthedocs.io/en/latest/print_http_requests.html dpkt package official document parsing Sinicization - -- HTTP Request Example(tcp layer [tcp.data carrier http header request and other information] P ...

Posted by codeman on Fri, 04 Oct 2019 08:34:50 +0200

Audio and video portal -10- uses libyuv to zoom, rotate, mirror, cut and mix YUV data.

Directory of Audio and Video Introduction Articles libyuv libyuv Google is open source to achieve a variety of YUV and RGB conversion, rotation, scaling and other libraries. It is cross platform and can be compiled and run on Windows, Linux, Mac, Android and other operating systems, x86, x64 and arm architectures. It supports the acceleratio ...

Posted by Scabby on Thu, 03 Oct 2019 19:45:03 +0200

How to Debug Classes Quickly with UiAutomator on Mac OS

Recently, when I used UiAutomator to debug classes quickly on Mac OS, I found that it is very different from using classes in Windows environment. There are many pits to fill in for my Mac OS white. Today, I finally revised them and shared the code for your reference. The main difference is that when you execute a command, you need to precede i ...

Posted by neuromancer on Tue, 01 Oct 2019 07:50:38 +0200

Preliminary Study on Agent Transport Mechanism in OSSIM Sensor

In OSSIM sensor, the conversion of communication protocol and data format between OSSIM proxy and OSSIM server is realized through GET framework. Let's take a brief look at the ossim-agent script:#!/usr/bin/python -OOtimport syssys.path.append('/usr/share/ossim-agent/')sys.path.append('/usr/local/share/ossim-agent/')from ossim_agent.Agent impo ...

Posted by kriss37 on Thu, 19 Sep 2019 06:16:31 +0200