[pve-devel] [PATCH manager] add qdevice api method to cluster
Oguz Bektas
o.bektas at proxmox.com
Thu Apr 4 15:43:08 CEST 2019
Signed-off-by: Oguz Bektas <o.bektas at proxmox.com>
---
PVE/API2/Cluster.pm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/PVE/API2/Cluster.pm b/PVE/API2/Cluster.pm
index c72a075b..81552847 100644
--- a/PVE/API2/Cluster.pm
+++ b/PVE/API2/Cluster.pm
@@ -15,6 +15,7 @@ use PVE::API2::HAConfig;
use PVE::HA::Env::PVE2;
use PVE::HA::Config;
use PVE::API2::ClusterConfig;
+use PVE::API2::QDevice;
use JSON;
use PVE::RESTHandler;
use PVE::RPCEnvironment;
@@ -37,6 +38,11 @@ __PACKAGE__->register_method ({
});
__PACKAGE__->register_method ({
+ subclass => "PVE::API2::QDevice",
+ path => 'qdevice',
+});
+
+__PACKAGE__->register_method ({
subclass => "PVE::API2::Firewall::Cluster",
path => 'firewall',
});
@@ -101,6 +107,7 @@ __PACKAGE__->register_method ({
{ name => 'nextid' },
{ name => 'firewall' },
{ name => 'config' },
+ { name => 'qdevice' },
{ name => 'acme' },
];
--
2.11.0
More information about the pve-devel
mailing list