This file contains hidden or 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
# +---------+ | |
# | | | |
# | RT1 | | |
# | 1.1.1.1 |-lo1 (2001:db8:1000::1/128) | |
# | | | |
# +---------+ | |
# |rt1-eth0 (.1) | |
# | | |
# |10.0.1.0/24 | |
# |2001:DB8:1::/64 |
This file contains hidden or 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
# +---------+ | |
# | | | |
# | RT1 | | |
# | 1.1.1.1 | | |
# | | | |
# +---------+ | |
# |rt1-eth0 (.1) | |
# | | |
# |10.0.1.0/24 | |
# | |
This file contains hidden or 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
#include <stdlib.h> | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <string.h> | |
#include <err.h> | |
#include <assert.h> | |
#include <arpa/inet.h> | |
#include <stdbool.h> | |
#include <libyang/libyang.h> |
This file contains hidden or 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
#!/usr/bin/env ruby | |
#$VERBOSE = true | |
require 'date' | |
this_dir = File.expand_path(File.dirname(__FILE__)) | |
lib_dir = File.join(this_dir, "ruby") | |
$LOAD_PATH.unshift(lib_dir) unless $LOAD_PATH.include?(lib_dir) | |
require "grpc" |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
rt41# show isis database detail | |
Area 1: | |
IS-IS Level-2 link-state database: | |
LSP ID PduLen SeqNumber Chksum Holdtime ATT/P/OL | |
rt11-isisd.00-00 1467 0x00000004 0x2b58 1044 0/0/0 | |
Protocols Supported: IPv4, IPv6 | |
Area Address: 47.0023.0000.0000.0000.0000.0000 | |
Hostname: rt11-isisd | |
Extended Reachability: 0000.1900.0012.00 (Metric: 10) | |
Extended Reachability: 0000.1900.0021.00 (Metric: 10) |
This file contains hidden or 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
# +-------+ +-------+ +-------+ | |
# | | | | | | | |
# | HOST1 | | HOST2 | | HOST3 | | |
# | | | | | | | |
# +---+---+ +---+---+ +---+---+ | |
# | | | | |
# |fd00:10:1::/64 | | | |
# +-----+ +------+ fd00:20:1::/64| | |
# | |fd00:10:2::/64 | | |
# | | | |
This file contains hidden or 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
# +---------+ +---------+ | |
# | | | | | |
# | CE1 | | CE2 | | |
# | | | | | |
# +---------+ +---------+ | |
# ce1-eth0|(.10)(.20) (.10)(.20)|ce2-eth0 | |
# | | | |
# |2001:db8:1::/64 2001:db8:2::/64| | |
# | | | |
# rt1-eth0| |rt3-eth0 |
This file contains hidden or 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
# +---------+ | |
# | | | |
# | RT1 | | |
# | 1.1.1.1 | | |
# | | | |
# +---------+ | |
# |rt1-eth0 (.1) | |
# | | |
# |10.0.1.0/24 | |
# | |
This file contains hidden or 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
/* | |
* Copyright (C) 2019 NetDEF, Inc. | |
* Renato Westphal | |
* | |
* This program is free software; you can redistribute it and/or modify it | |
* under the terms of the GNU General Public License as published by the Free | |
* Software Foundation; either version 2 of the License, or (at your option) | |
* any later version. | |
* | |
* This program is distributed in the hope that it will be useful, but WITHOUT |
This file contains hidden or 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
# +---------+ +---------+ | |
# | | | | | |
# | CE1 | | CE2 | | |
# | | | | | |
# +---------+ +---------+ | |
# ce1-eth0| |ce2-eth0 | |
# | | | |
# 172.16.1.0/24| |172.16.2.0/24 | |
# | | | |
# rt1-eth0| 10.0.1.0/24 10.0.3.0/24 |rt3-eth0 |