feat(netconf/netcore01): init
All checks were successful
Check meta / check_meta (push) Successful in 15s
Check meta / check_dns (pull_request) Successful in 15s
Check meta / check_dns (push) Successful in 15s
Check meta / check_meta (pull_request) Successful in 18s
Check workflows / check_workflows (pull_request) Successful in 19s
Build all the nodes / ap01 (pull_request) Successful in 35s
Build all the nodes / netaccess01 (pull_request) Successful in 23s
Build all the nodes / netcore01 (pull_request) Successful in 20s
Build all the nodes / netcore02 (pull_request) Successful in 20s
Build all the nodes / geo01 (pull_request) Successful in 2m12s
Build all the nodes / hypervisor01 (pull_request) Successful in 2m13s
Build all the nodes / bridge01 (pull_request) Successful in 2m28s
Build all the nodes / hypervisor03 (pull_request) Successful in 1m59s
Build all the nodes / hypervisor02 (pull_request) Successful in 2m5s
Build all the nodes / build01 (pull_request) Successful in 2m27s
Build all the nodes / geo02 (pull_request) Successful in 2m29s
Build the shell / build-shell (pull_request) Successful in 24s
Run pre-commit on all files / pre-commit (pull_request) Successful in 24s
Build all the nodes / vault01 (pull_request) Successful in 1m56s
Build all the nodes / compute01 (pull_request) Successful in 3m28s
Build all the nodes / rescue01 (pull_request) Successful in 2m22s
Build all the nodes / tower01 (pull_request) Successful in 2m17s
Build all the nodes / storage01 (pull_request) Successful in 2m24s
Build all the nodes / web02 (pull_request) Successful in 1m53s
Build all the nodes / web01 (pull_request) Successful in 2m33s
Build all the nodes / web03 (pull_request) Successful in 2m7s
Build all the nodes / netaccess01 (push) Successful in 21s
Build all the nodes / netcore01 (push) Successful in 21s
Build all the nodes / netcore02 (push) Successful in 21s
Build the shell / build-shell (push) Successful in 21s
Run pre-commit on all files / pre-commit (push) Successful in 23s
Build all the nodes / ap01 (push) Successful in 1m33s
Build all the nodes / bridge01 (push) Successful in 2m12s
Build all the nodes / hypervisor03 (push) Successful in 2m17s
Build all the nodes / build01 (push) Successful in 2m20s
Build all the nodes / geo01 (push) Successful in 2m23s
Build all the nodes / geo02 (push) Successful in 2m30s
Build all the nodes / vault01 (push) Successful in 2m30s
Build all the nodes / hypervisor01 (push) Successful in 2m45s
Build all the nodes / hypervisor02 (push) Successful in 2m45s
Build all the nodes / rescue01 (push) Successful in 2m50s
Build all the nodes / tower01 (push) Successful in 2m56s
Build all the nodes / web03 (push) Successful in 2m47s
Build all the nodes / storage01 (push) Successful in 3m8s
Build all the nodes / web02 (push) Successful in 2m54s
Build all the nodes / web01 (push) Successful in 3m27s
Build all the nodes / compute01 (push) Successful in 3m33s
All checks were successful
Check meta / check_meta (push) Successful in 15s
Check meta / check_dns (pull_request) Successful in 15s
Check meta / check_dns (push) Successful in 15s
Check meta / check_meta (pull_request) Successful in 18s
Check workflows / check_workflows (pull_request) Successful in 19s
Build all the nodes / ap01 (pull_request) Successful in 35s
Build all the nodes / netaccess01 (pull_request) Successful in 23s
Build all the nodes / netcore01 (pull_request) Successful in 20s
Build all the nodes / netcore02 (pull_request) Successful in 20s
Build all the nodes / geo01 (pull_request) Successful in 2m12s
Build all the nodes / hypervisor01 (pull_request) Successful in 2m13s
Build all the nodes / bridge01 (pull_request) Successful in 2m28s
Build all the nodes / hypervisor03 (pull_request) Successful in 1m59s
Build all the nodes / hypervisor02 (pull_request) Successful in 2m5s
Build all the nodes / build01 (pull_request) Successful in 2m27s
Build all the nodes / geo02 (pull_request) Successful in 2m29s
Build the shell / build-shell (pull_request) Successful in 24s
Run pre-commit on all files / pre-commit (pull_request) Successful in 24s
Build all the nodes / vault01 (pull_request) Successful in 1m56s
Build all the nodes / compute01 (pull_request) Successful in 3m28s
Build all the nodes / rescue01 (pull_request) Successful in 2m22s
Build all the nodes / tower01 (pull_request) Successful in 2m17s
Build all the nodes / storage01 (pull_request) Successful in 2m24s
Build all the nodes / web02 (pull_request) Successful in 1m53s
Build all the nodes / web01 (pull_request) Successful in 2m33s
Build all the nodes / web03 (pull_request) Successful in 2m7s
Build all the nodes / netaccess01 (push) Successful in 21s
Build all the nodes / netcore01 (push) Successful in 21s
Build all the nodes / netcore02 (push) Successful in 21s
Build the shell / build-shell (push) Successful in 21s
Run pre-commit on all files / pre-commit (push) Successful in 23s
Build all the nodes / ap01 (push) Successful in 1m33s
Build all the nodes / bridge01 (push) Successful in 2m12s
Build all the nodes / hypervisor03 (push) Successful in 2m17s
Build all the nodes / build01 (push) Successful in 2m20s
Build all the nodes / geo01 (push) Successful in 2m23s
Build all the nodes / geo02 (push) Successful in 2m30s
Build all the nodes / vault01 (push) Successful in 2m30s
Build all the nodes / hypervisor01 (push) Successful in 2m45s
Build all the nodes / hypervisor02 (push) Successful in 2m45s
Build all the nodes / rescue01 (push) Successful in 2m50s
Build all the nodes / tower01 (push) Successful in 2m56s
Build all the nodes / web03 (push) Successful in 2m47s
Build all the nodes / storage01 (push) Successful in 3m8s
Build all the nodes / web02 (push) Successful in 2m54s
Build all the nodes / web01 (push) Successful in 3m27s
Build all the nodes / compute01 (push) Successful in 3m33s
This commit is contained in:
parent
d2603b38d8
commit
304103af3a
3 changed files with 92 additions and 0 deletions
|
@ -111,6 +111,17 @@ jobs:
|
||||||
STORE_USER: admin
|
STORE_USER: admin
|
||||||
name: Build and cache netaccess01
|
name: Build and cache netaccess01
|
||||||
run: nix-shell -A eval-nodes --run cache-node
|
run: nix-shell -A eval-nodes --run cache-node
|
||||||
|
netcore01:
|
||||||
|
runs-on: nix
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- env:
|
||||||
|
BUILD_NODE: netcore01
|
||||||
|
STORE_ENDPOINT: https://tvix-store.dgnum.eu/infra-signing/
|
||||||
|
STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }}
|
||||||
|
STORE_USER: admin
|
||||||
|
name: Build and cache netcore01
|
||||||
|
run: nix-shell -A eval-nodes --run cache-node
|
||||||
netcore02:
|
netcore02:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
|
55
machines/netconf/netcore01.nix
Normal file
55
machines/netconf/netcore01.nix
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
# SPDX-FileCopyrightText: 2025 Lubin Bailly <lubin.bailly@dgnum.eu>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
|
let
|
||||||
|
#TODO: meta
|
||||||
|
vlansPlan = {
|
||||||
|
"uplink-cri".id = 223;
|
||||||
|
|
||||||
|
"admin-core" = {
|
||||||
|
id = 3000;
|
||||||
|
l3-interface = "irb.0";
|
||||||
|
};
|
||||||
|
"admin-ap".id = 3001;
|
||||||
|
"users".id-list = [
|
||||||
|
{
|
||||||
|
begin = 3045;
|
||||||
|
end = 4094;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
"ap-staging".id = 2000;
|
||||||
|
"hypervisor".id = 2001;
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
vlans = vlansPlan;
|
||||||
|
dgn-hardware.model = "EX2300-48P";
|
||||||
|
dgn-interfaces =
|
||||||
|
let
|
||||||
|
hypervisor.ethernet-switching = {
|
||||||
|
interface-mode = "access";
|
||||||
|
vlans = [ "hypervisor" ];
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
"xe-0/2/0".ethernet-switching = {
|
||||||
|
interface-mode = "trunk";
|
||||||
|
vlans = [ "all" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
"ge-0/0/0" = hypervisor;
|
||||||
|
"ge-0/0/1" = hypervisor;
|
||||||
|
"ge-0/0/2" = hypervisor;
|
||||||
|
"ge-0/0/3" = hypervisor;
|
||||||
|
"ge-0/0/4" = hypervisor;
|
||||||
|
"ge-0/0/5" = hypervisor;
|
||||||
|
"ge-0/0/6" = hypervisor;
|
||||||
|
"ge-0/0/7" = hypervisor;
|
||||||
|
|
||||||
|
# management
|
||||||
|
"me0".inet.addresses = [ "192.168.2.2/24" ];
|
||||||
|
"irb".inet6.addresses = [ "fd26:baf9:d250:8000::100f/64" ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -2,6 +2,31 @@
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: EUPL-1.2
|
# SPDX-License-Identifier: EUPL-1.2
|
||||||
{
|
{
|
||||||
|
netcore01 = {
|
||||||
|
site = "pot01";
|
||||||
|
|
||||||
|
hashedPassword = "$6$BKetIIfT$JVyE0B7F4O.fJwQFu5jVrVExAZROrEMLW5HkDkhjMShJ9cRIgxSm2VM9OThDowsnLmAewqDN7eAY.EQt4UR4U0";
|
||||||
|
|
||||||
|
stateVersion = null;
|
||||||
|
|
||||||
|
adminGroups = [ "fai" ];
|
||||||
|
|
||||||
|
deployment = {
|
||||||
|
targetHost = "fd26:baf9:d250:8000::100f";
|
||||||
|
sshOptions = [
|
||||||
|
"-J"
|
||||||
|
"root@vault01.hyp01.infra.dgnum.eu"
|
||||||
|
"-p"
|
||||||
|
"830"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
nixpkgs = {
|
||||||
|
version = "24.05"; # FIXME: meaningless
|
||||||
|
system = "netconf";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
netcore02 = {
|
netcore02 = {
|
||||||
site = "hyp01";
|
site = "hyp01";
|
||||||
|
|
||||||
|
@ -26,6 +51,7 @@
|
||||||
system = "netconf";
|
system = "netconf";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
netaccess01 = {
|
netaccess01 = {
|
||||||
site = "hyp02";
|
site = "hyp02";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue