[pve-devel] [PATCH pve-manager 1/1] api2: add network/transport api

Alexandre Derumier aderumier at odiso.com
Tue Apr 2 12:09:35 CEST 2019


---
 PVE/API2.pm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/PVE/API2.pm b/PVE/API2.pm
index 38baf133..ec8150bd 100644
--- a/PVE/API2.pm
+++ b/PVE/API2.pm
@@ -15,6 +15,7 @@ use PVE::API2::Nodes;
 use PVE::API2::Pool;
 use PVE::API2::AccessControl;
 use PVE::API2::Storage::Config;
+use PVE::API2::Network::Transport;
 
 __PACKAGE__->register_method ({
     subclass => "PVE::API2::Cluster",  
@@ -42,6 +43,11 @@ __PACKAGE__->register_method ({
 });
 
 __PACKAGE__->register_method ({
+    subclass => "PVE::API2::Network::Transport",  
+    path => 'network/transports',
+});
+
+__PACKAGE__->register_method ({
     name => 'index', 
     path => '',
     method => 'GET',
-- 
2.11.0




More information about the pve-devel mailing list