nixos/magi: Add basic GoBGP configuration
This commit is contained in:
parent
610571b365
commit
b997a7a9ed
1 changed files with 16 additions and 0 deletions
|
@ -116,4 +116,20 @@
|
|||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
services.gobgpd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
global = {
|
||||
as = 208250;
|
||||
};
|
||||
|
||||
neighbors = [
|
||||
{
|
||||
neighbor-address = "2a0f:be00:0001::";
|
||||
peer-as = 208250;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue