- Interop Shownet Icon?
- Download icons from
- https://www.interop.jp/shownet/point/#topology_external
- ShowNet Icons (C) 2021 Interop Tokyo ShowNet NOC Team / CC BY-SA 4.0
- https://creativecommons.org/licenses/by-sa/4.0/
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
version: "2" | |
services: | |
lab: | |
image: orzohmygodorz/mininet:latest | |
hostname: l2test | |
volumes: | |
- ./scripts:/scripts | |
- /lib/modules:/lib/modules | |
privileged: true | |
environment: |
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: Namespace | |
metadata: | |
name: dnscheck | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: |
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
# frozen_string_literal: true | |
require 'git' | |
require 'logger' | |
def parse_moved_file(stats_path) | |
if stats_path =~ /({(.+) => (.+)})/ | |
changed, src, dst = $1, $2, $3 | |
{ | |
src: stats_path.sub(changed, src), |
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
{ | |
"edges": [ | |
{ | |
"node1": { | |
"hostname": "switch1", | |
"interfaceName": "GigabitEthernet1/0/1" | |
}, | |
"node2": { | |
"hostname": "host11", | |
"interfaceName": "eth0" |
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
{ | |
ietf-network:networks: { | |
network: [ | |
... | |
{ | |
node: [ | |
+ { | |
+ node-id: "seg_c" | |
+ ietf-network-topology:termination-point: [ | |
+ { |
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
├── dist | |
│ ├── font | |
│ │ └── popoto | |
│ │ ├── popoto.eot | |
│ │ ├── popoto.svg | |
│ │ ├── popoto.ttf | |
│ │ └── popoto.woff | |
│ ├── index.html | |
│ ├── main.bundle.js | |
│ └── popoto.min.css |
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
{ | |
"ietf-network:networks": { | |
"network": [{ | |
"network-id": "target-L1", | |
"network-types": {}, | |
"node": [{ | |
"node-id": "R1", | |
"ietf-network-topology:termination-point": [{ | |
"tp-id": "Fa0" | |
}, |
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
require 'json' | |
data = JSON.parse(File.read(ARGV[0])) | |
def j2rb_tp(data) | |
l2attr_key = 'ietf-l2-topology:l2-termination-point-attributes' | |
l3attr_key = 'ietf-l3-unicast-topology:l3-termination-point-attributes' | |
stp_key = 'supporting-termination-point' | |
has_block = false | |
if data.key?(l2attr_key) || data.key?(l3attr_key) || data.key?(stp_key) | |
has_block = true |
NewerOlder