--- PVE/API2/Cluster.pm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/PVE/API2/Cluster.pm b/PVE/API2/Cluster.pm index c72a075b..71b5071d 100644 --- a/PVE/API2/Cluster.pm +++ b/PVE/API2/Cluster.pm @@ -23,6 +23,7 @@ use PVE::Firewall; use PVE::API2::Firewall::Cluster; use PVE::API2::ReplicationConfig; use PVE::API2::ACMEAccount; +use PVE::API2::NetworkConfig; use base qw(PVE::RESTHandler); @@ -56,6 +57,11 @@ __PACKAGE__->register_method ({ path => 'acme', }); +__PACKAGE__->register_method ({ + subclass => "PVE::API2::NetworkConfig", + path => 'network', +}); + my $dc_schema = PVE::Cluster::get_datacenter_schema(); my $dc_properties = { delete => { @@ -102,6 +108,7 @@ __PACKAGE__->register_method ({ { name => 'firewall' }, { name => 'config' }, { name => 'acme' }, + { name => 'network' }, ]; return $result; -- 2.11.0
_______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel