summaryrefslogtreecommitdiff
path: root/PVE/API2/Network/SDN/Subnets.pm
diff options
context:
space:
mode:
authorAlexandre Derumier <aderumier@odiso.com>2020-10-05 17:08:46 +0200
committerThomas Lamprecht <t.lamprecht@proxmox.com>2020-10-06 18:17:19 +0200
commit5d3e0248bb8112e467ddaa5807d98dff06de3dfa (patch)
tree550a895e05b9dfc903e83e320ff5f492abc8dc6c /PVE/API2/Network/SDN/Subnets.pm
parent7416e82d852c5ec537562601b2edda4bbf0622a5 (diff)
api: generate 'running-config' state instead of version increase on apply
This is the source configuration for generate local configuration /sdn/*.cfg are pending configs Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Diffstat (limited to 'PVE/API2/Network/SDN/Subnets.pm')
-rw-r--r--PVE/API2/Network/SDN/Subnets.pm3
1 files changed, 0 insertions, 3 deletions
diff --git a/PVE/API2/Network/SDN/Subnets.pm b/PVE/API2/Network/SDN/Subnets.pm
index 3c958bd..e122ffd 100644
--- a/PVE/API2/Network/SDN/Subnets.pm
+++ b/PVE/API2/Network/SDN/Subnets.pm
@@ -147,7 +147,6 @@ __PACKAGE__->register_method ({
PVE::Network::SDN::SubnetPlugin->on_update_hook($id, $opts);
PVE::Network::SDN::Subnets::write_config($cfg);
- PVE::Network::SDN::increase_version();
}, "create sdn subnet object failed");
@@ -187,7 +186,6 @@ __PACKAGE__->register_method ({
PVE::Network::SDN::SubnetPlugin->on_update_hook($id, $opts, $scfg);
PVE::Network::SDN::Subnets::write_config($cfg);
- PVE::Network::SDN::increase_version();
}, "update sdn subnet object failed");
@@ -241,7 +239,6 @@ __PACKAGE__->register_method ({
delete $cfg->{ids}->{$id};
PVE::Network::SDN::Subnets::write_config($cfg);
- PVE::Network::SDN::increase_version();
}, "delete sdn subnet object failed");