From c1ca0ca6e69bbe4538a4f84062a86a09d7c9d86a Mon Sep 17 00:00:00 2001 From: kmo7 Date: Thu, 21 May 2026 12:06:14 -0700 Subject: [PATCH] Juniper ncPTX-BX example bringup files * Analogous changes to the older ncPTX BT example bringup files. --- examples/ncptx-bx/juniper.config | 28 +++ examples/ncptx-bx/juniper_channelized.config | 172 ++++++++++++++++++ examples/ncptx-bx/ncptx-host.pb.txt | 80 ++++++++ .../ncptx_channel-ncptx_channel.pb.txt | 90 +++++++++ 4 files changed, 370 insertions(+) create mode 100644 examples/ncptx-bx/juniper.config create mode 100644 examples/ncptx-bx/juniper_channelized.config create mode 100644 examples/ncptx-bx/ncptx-host.pb.txt create mode 100644 examples/ncptx-bx/ncptx_channel-ncptx_channel.pb.txt diff --git a/examples/ncptx-bx/juniper.config b/examples/ncptx-bx/juniper.config new file mode 100644 index 00000000..e230ec0e --- /dev/null +++ b/examples/ncptx-bx/juniper.config @@ -0,0 +1,28 @@ +system { + root-authentication { + encrypted-password "$6$7uA5z8vs$cmHIvL0aLU4ioWAHPR0PLeU/mJj.JO/5pQVQoqRlInK3fJNTLYLhwiDi.Q6gHhltSB3S1P/.raEsuDSH7akcJ/"; ## SECRET-DATA + } + services { + ssh { + root-login allow; + } + } + syslog { + file interactive-commands { + interactive-commands any; + } + file messages { + any notice; + authorization info; + } + } +} +interfaces { + re0:mgmt-0 { + unit 0 { + family inet { + address FXP0ADDR; + } + } + } +} diff --git a/examples/ncptx-bx/juniper_channelized.config b/examples/ncptx-bx/juniper_channelized.config new file mode 100644 index 00000000..4362f410 --- /dev/null +++ b/examples/ncptx-bx/juniper_channelized.config @@ -0,0 +1,172 @@ +system { + root-authentication { + encrypted-password "$6$7uA5z8vs$cmHIvL0aLU4ioWAHPR0PLeU/mJj.JO/5pQVQoqRlInK3fJNTLYLhwiDi.Q6gHhltSB3S1P/.raEsuDSH7akcJ/"; ## SECRET-DATA + } + services { + ssh { + root-login allow; + } + } + syslog { + file interactive-commands { + interactive-commands any; + } + file messages { + any notice; + authorization info; + } + } +} +interfaces { + et-0/0/0 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/1 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/2 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/3 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/4 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/5 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/6 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/7 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/8 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/9 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/10 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/11 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/12 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/13 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/14 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/15 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/16 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/17 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/18 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/19 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/20 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/21 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/22 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/23 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/24 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/25 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/26 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/27 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/28 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/29 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/30 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/31 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/32 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/33 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/34 { + number-of-sub-ports 4; + speed 100g; + } + et-0/0/35 { + number-of-sub-ports 4; + speed 100g; + } + re0:mgmt-0 { + unit 0 { + family inet { + address FXP0ADDR; + } + } + } +} diff --git a/examples/ncptx-bx/ncptx-host.pb.txt b/examples/ncptx-bx/ncptx-host.pb.txt new file mode 100644 index 00000000..cc415d45 --- /dev/null +++ b/examples/ncptx-bx/ncptx-host.pb.txt @@ -0,0 +1,80 @@ +name: "ncptx-bx-host" +nodes: { + name: "ncptx-bx" + vendor: JUNIPER + model: "ncptx" + os: "evo" + config: { + config_path: "/home/evo/configdisk/" + config_file: "juniper.conf" + file: "juniper.config" + cert: { + self_signed: { + cert_name: "grpc-server-cert" + key_name: "N/A" + key_size: 4096 + } + } + env: { + key: "CPTX_COSIM" + value: "BX" + } + env: { + key: "JUNOS_EVOLVED_CONTAINER" + value: "1" + } + } + interfaces: { + key: "eth5" + value: { + name: "et-0/0/0" + } + } + interfaces: { + key: "eth6" + value: { + name: "et-0/0/1" + } + } +} +nodes: { + name: "vm-1" + vendor: HOST + config: { + image: "ubuntu:latest" + } + services: { + key: 22 + value: { + name: "ssh" + inside: 22 + } + } +} +nodes: { + name: "vm-2" + vendor: HOST + config: { + image: "ubuntu:latest" + } + services: { + key: 22 + value: { + name: "ssh" + inside: 22 + } + } +} + +links: { + a_node: "vm-1" + a_int: "eth1" + z_node: "ncptx-bx" + z_int: "eth5" +} +links: { + a_node: "vm-2" + a_int: "eth1" + z_node: "ncptx-bx" + z_int: "eth6" +} diff --git a/examples/ncptx-bx/ncptx_channel-ncptx_channel.pb.txt b/examples/ncptx-bx/ncptx_channel-ncptx_channel.pb.txt new file mode 100644 index 00000000..d3d1e0a9 --- /dev/null +++ b/examples/ncptx-bx/ncptx_channel-ncptx_channel.pb.txt @@ -0,0 +1,90 @@ +name: "ncptx-bx-ncptx-bx" +nodes: { + name: "ncptx-bx1" + vendor: JUNIPER + model: "ncptx" + os: "evo" + config: { + config_path: "/home/evo/configdisk/" + config_file: "juniper.conf" + file: "juniper_channelized.config" + cert: { + self_signed: { + cert_name: "grpc-server-cert", + key_name: "N/A", + key_size: 4096, + } + } + env: { + key: "CPTX_COSIM" + value: "BX" + } + env: { + key: "JUNOS_EVOLVED_CONTAINER" + value: "1" + } + } + interfaces: { + key: "eth5" + value: { + name: "et-0/0/0:0" + } + } + interfaces: { + key: "eth13" + value: { + name: "et-0/0/2:0" + } + } +} +nodes: { + name: "ncptx-bx2" + vendor: JUNIPER + model: "ncptx" + os: "evo" + config: { + config_path: "/home/evo/configdisk/" + config_file: "juniper.conf" + file: "juniper_channelized.config" + cert: { + self_signed: { + cert_name: "grpc-server-cert", + key_name: "N/A", + key_size: 4096, + } + } + env: { + key: "CPTX_COSIM" + value: "BX" + } + env: { + key: "JUNOS_EVOLVED_CONTAINER" + value: "1" + } + } + interfaces: { + key: "eth5" + value: { + name: "et-0/0/0:0" + } + } + interfaces: { + key: "eth13" + value: { + name: "et-0/0/2:0" + } + } +} + +links: { + a_node: "ncptx-bx1" + a_int: "eth5" + z_node: "ncptx-bx2" + z_int: "eth5" +} +links: { + a_node: "ncptx-bx1" + a_int: "eth13" + z_node: "ncptx-bx2" + z_int: "eth13" +}