File tree Expand file tree Collapse file tree 7 files changed +491
-380
lines changed
package-sets/scale-nixos-tests Expand file tree Collapse file tree 7 files changed +491
-380
lines changed Original file line number Diff line number Diff line change 88 enable = true ;
99 frrBorderInterface = "fiber0" ;
1010 frrExpoInterface = "fiber1" ;
11+ trunkInterfaces = [ "copper0" ] ;
1112 } ;
1213 services . ssh . enable = true ;
1314 services . alloy = {
Original file line number Diff line number Diff line change 88 enable = true ;
99 frrBorderInterface = "fiber0" ;
1010 frrConferenceInterface = "fiber1" ;
11+ trunkInterfaces = [ "copper0" ] ;
1112 } ;
1213 services . ssh . enable = true ;
1314 services . alloy = {
Original file line number Diff line number Diff line change 129129 networkConfig . DHCP = false ;
130130 address = [
131131 "172.20.1.1/24"
132+ "2001:470:f026:901::1/64"
132133 ] ;
133134 } ;
134135 "50-bridge902" = {
135136 matchConfig . Name = "bridge902" ;
136137 networkConfig . DHCP = false ;
137138 address = [
138139 "172.20.2.1/24"
140+ "2001:470:f026:902::1/64"
139141 ] ;
140142 } ;
141143 }
142144 ( mkIf ( ! cfg . staticWANEnable ) {
143145 # temporary for testing at various sites
144146 # will be static for show
145- "10-nat-dhcp " = {
147+ "10-${ cfg . WANInterface } " = {
146148 matchConfig . Name = cfg . WANInterface ;
147149 enable = true ;
148150 networkConfig = {
155157 } )
156158
157159 ( mkIf cfg . staticWANEnable {
158- "10-nat-static " = {
160+ "10-${ cfg . WANInterface } " = {
159161 matchConfig . Name = cfg . WANInterface ;
160162 networkConfig . DHCP = false ;
161163 address = [
195197 "bridge901" # cf
196198 "bridge902" # expo
197199 ] ;
200+ # service.frr.passive-interface add 103 and 104 later
198201 } ;
199202 } ;
200203}
You can’t perform that action at this time.
0 commit comments