Skip to content

Commit e172aa4

Browse files
committed
fix: cleanup netron configuration
Signed-off-by: Paul Kroeher <paul.kroeher@cyberus-technology.de> On-behalf-of: SAP paul.kroeher@sap.com
1 parent 78778bb commit e172aa4

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

modules/controller/neutron.nix

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,6 @@ let
110110
ovsdb_debug = true
111111
'';
112112

113-
# currently not used
114-
metadataAgentConf = pkgs.writeText "metadata_agent.ini" ''
115-
[DEFAULT]
116-
nova_metadata_host = controller
117-
metadata_proxy_shared_secret = neutron_metadata_secret
118-
'';
119-
120113
neutron_env = pkgs.python3.buildEnv.override {
121114
extraLibs = [ neutron ];
122115
};
@@ -170,12 +163,6 @@ in
170163
The Neutron DHCP agent config.
171164
'';
172165
};
173-
metadataAgentConfig = mkOption {
174-
default = metadataAgentConf;
175-
description = ''
176-
The Neutron metadata agent config.
177-
'';
178-
};
179166
providerInterface = mkOption {
180167
default = "eth2";
181168
type = types.str;
@@ -225,11 +212,6 @@ in
225212
argument = "${cfg.dhcpAgentConfig}";
226213
};
227214
};
228-
"/etc/neutron/metadata_agent.ini" = {
229-
L = {
230-
argument = "${cfg.metadataAgentConfig}";
231-
};
232-
};
233215
"/etc/neutron/api-paste.ini" = {
234216
L = {
235217
argument = "${neutron}/etc/neutron/api-paste.ini";

0 commit comments

Comments
 (0)