Skip to content

Commit

Permalink
Refactor topo config dir layout
Browse files Browse the repository at this point in the history
  • Loading branch information
knewell committed Feb 21, 2020
1 parent 30310b2 commit eab7329
Show file tree
Hide file tree
Showing 129 changed files with 9,987 additions and 915 deletions.
139 changes: 139 additions & 0 deletions files/epe/config/epe-vmx0-config.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@

version VERSION
system {
host-name epe-vmx0;
no-redirects;
root-authentication {
encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; ## SECRET-DATA
}
login {
user salt {
uid 2001;
class super-user;
authentication {
encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; ## SECRET-DATA
ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; ## SECRET-DATA
}
}
}
services {
ssh {
root-login allow;
}
extension-service {
request-response {
grpc {
clear-text;
max-connections 10;
skip-authentication;
}
}
}
netconf {
ssh;
traceoptions {
file nc.txt size 1m world-readable;
flag all;
}
}
}
syslog {
user * {
any emergency;
}
file messages {
any any;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
}
chassis {
network-services enhanced-ip;
}
interfaces {
ge-0/0/0 {
description "epe-vmx1"
unit 0 {
family inet {
address 10.0.1.1/24
}
family inet6;
family mpls;
family iso;
}
}

fxp0 {
description "OOB to MGMT Network";
unit 0 {
family inet {
address 10.39.0.100/21;
}
}
}
lo0 {
unit 0 {
family inet {
address 10.10.10.10/32;
}
family inet6 {
address fec0:0:0:1111::0/128;
}

family iso {
address 49.0001.0010.0100.1000.00;
}

}
}
}
routing-options {
router-id 10.10.10.10;
autonomous-system 64496;
forwarding-table {
export LOAD-BALANCE;
}
static {
route 0.0.0.0/0 {
next-hop 10.39.0.1;
no-readvertise;
preference 255;
}
}
}
protocols {
isis {
source-packet-routing {
srgb start-label 16000 index-range 8000;
node-segment {
ipv4-index 400;
ipv6-index 600;
}
}
level 1 disable;
level 2 wide-metrics-only;
interface ge-0/0/0.0 {
point-to-point;
level 2 metric 1000;
}
interface lo0.0 {
passive;
}
}
mpls {
interface ge-0/0/0.0;
}
lldp {
interface ge-0/0/0;
}
}
policy-options {
policy-statement LOAD-BALANCE {
then {
load-balance per-packet;
}
}
}
193 changes: 193 additions & 0 deletions files/epe/config/epe-vmx1-config.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@

version VERSION
system {
host-name epe-vmx1;
no-redirects;
root-authentication {
encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; ## SECRET-DATA
}
login {
user salt {
uid 2001;
class super-user;
authentication {
encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; ## SECRET-DATA
ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; ## SECRET-DATA
}
}
}
services {
ssh {
root-login allow;
}
extension-service {
request-response {
grpc {
clear-text;
max-connections 10;
skip-authentication;
}
}
}
netconf {
ssh;
traceoptions {
file nc.txt size 1m world-readable;
flag all;
}
}
}
syslog {
user * {
any emergency;
}
file messages {
any any;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
}
chassis {
network-services enhanced-ip;
}
interfaces {
ge-0/0/0 {
description "epe-vmx0"
unit 0 {
family inet {
address 10.0.1.2/24
}
family inet6;
family mpls;
family iso;
}
}

ge-0/0/1 {
description "epe-vmx2"
unit 0 {
family inet {
address 10.0.12.1/24
}
family inet6;
family mpls;
family iso;
}
}

ge-0/0/2 {
description "epe-vmx3"
unit 0 {
family inet {
address 10.0.13.1/24
}
family inet6;
family mpls;
family iso;
}
}

ge-0/0/3 {
description "epe-vmx4"
unit 0 {
family inet {
address 10.0.14.1/24
}
family inet6;
family mpls;
family iso;
}
}

fxp0 {
description "OOB to MGMT Network";
unit 0 {
family inet {
address 10.39.0.101/21;
}
}
}
lo0 {
unit 0 {
family inet {
address 1.1.1.1/32;
}
family inet6 {
address fec0:0:0:1111::1/128;
}

family iso {
address 49.0001.0010.0100.1001.00;
}

}
}
}
routing-options {
router-id 1.1.1.1;
autonomous-system 64496;
forwarding-table {
export LOAD-BALANCE;
}
static {
route 0.0.0.0/0 {
next-hop 10.39.0.1;
no-readvertise;
preference 255;
}
}
}
protocols {
isis {
source-packet-routing {
srgb start-label 16000 index-range 8000;
node-segment {
ipv4-index 401;
ipv6-index 601;
}
}
level 1 disable;
level 2 wide-metrics-only;
interface ge-0/0/0.0 {
point-to-point;
level 2 metric 1000;
}
interface ge-0/0/1.0 {
point-to-point;
level 2 metric 1000;
}
interface ge-0/0/2.0 {
point-to-point;
level 2 metric 1000;
}
interface ge-0/0/3.0 {
point-to-point;
level 2 metric 1000;
}
interface lo0.0 {
passive;
}
}
mpls {
interface ge-0/0/0.0;
interface ge-0/0/1.0;
interface ge-0/0/2.0;
interface ge-0/0/3.0;
}
lldp {
interface ge-0/0/0;
interface ge-0/0/1;
interface ge-0/0/2;
interface ge-0/0/3;
}
}
policy-options {
policy-statement LOAD-BALANCE {
then {
load-balance per-packet;
}
}
}
Loading

0 comments on commit eab7329

Please sign in to comment.