Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pve-manager
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
pve-manager
Commits
fde3cd1d
Commit
fde3cd1d
authored
May 06, 2014
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
depend on pve-firewall, connect firewall API
parent
363d7139
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
1 deletion
+24
-1
Cluster.pm
PVE/API2/Cluster.pm
+8
-0
Nodes.pm
PVE/API2/Nodes.pm
+8
-0
OpenVZ.pm
PVE/API2/OpenVZ.pm
+7
-0
control.in
debian/control.in
+1
-1
No files found.
PVE/API2/Cluster.pm
View file @
fde3cd1d
...
...
@@ -18,9 +18,16 @@ use JSON;
use
PVE::
RESTHandler
;
use
PVE::
RPCEnvironment
;
use
PVE::
JSONSchema
qw(get_standard_option)
;
use
PVE::
Firewall
;
use
PVE::API2::Firewall::
Cluster
;
use
base
qw(PVE::RESTHandler)
;
__PACKAGE__
->
register_method
({
subclass
=>
"
PVE::API2::Firewall::Cluster
",
path
=>
'
firewall
',
});
__PACKAGE__
->
register_method
({
subclass
=>
"
PVE::API2::Backup
",
path
=>
'
backup
',
...
...
@@ -73,6 +80,7 @@ __PACKAGE__->register_method ({
{
name
=>
'
ha
'
},
{
name
=>
'
status
'
},
{
name
=>
'
nextid
'
},
{
name
=>
'
firewall
'
},
];
return
$result
;
...
...
PVE/API2/Nodes.pm
View file @
fde3cd1d
...
...
@@ -19,6 +19,7 @@ use PVE::RPCEnvironment;
use
PVE::
JSONSchema
qw(get_standard_option)
;
use
PVE::
AccessControl
;
use
PVE::
Storage
;
use
PVE::
Firewall
;
use
PVE::
OpenVZ
;
use
PVE::
APLInfo
;
use
PVE::
QemuServer
;
...
...
@@ -33,6 +34,7 @@ use PVE::API2::OpenVZ;
use
PVE::API2::
VZDump
;
use
PVE::API2::
APT
;
use
PVE::API2::
Ceph
;
use
PVE::API2::Firewall::
Host
;
use
JSON
;
use
base
qw(PVE::RESTHandler)
;
...
...
@@ -92,6 +94,11 @@ __PACKAGE__->register_method ({
path
=>
'
apt
',
});
__PACKAGE__
->
register_method
({
subclass
=>
"
PVE::API2::Firewall::Host
",
path
=>
'
firewall
',
});
__PACKAGE__
->
register_method
({
name
=>
'
index
',
path
=>
'',
...
...
@@ -142,6 +149,7 @@ __PACKAGE__->register_method ({
{
name
=>
'
startall
'
},
{
name
=>
'
stopall
'
},
{
name
=>
'
netstat
'
},
{
name
=>
'
firewall
'
},
];
return
$result
;
...
...
PVE/API2/OpenVZ.pm
View file @
fde3cd1d
...
...
@@ -18,6 +18,7 @@ use PVE::RPCEnvironment;
use
PVE::
OpenVZ
;
use
PVE::
OpenVZMigrate
;
use
PVE::
JSONSchema
qw(get_standard_option)
;
use
PVE::API2::Firewall::
VM
;
use
base
qw(PVE::RESTHandler)
;
...
...
@@ -500,6 +501,11 @@ __PACKAGE__->register_method({
return
undef
;
}});
__PACKAGE__
->
register_method
({
subclass
=>
"
PVE::API2::Firewall::VM
",
path
=>
'
{vmid}/firewall
',
});
__PACKAGE__
->
register_method
({
name
=>
'
vmdiridx
',
path
=>
'
{vmid}
',
...
...
@@ -541,6 +547,7 @@ __PACKAGE__->register_method({
{
subdir
=>
'
initlog
'
},
{
subdir
=>
'
rrd
'
},
{
subdir
=>
'
rrddata
'
},
{
subdir
=>
'
firewall
'
},
];
return
$res
;
...
...
debian/control.in
View file @
fde3cd1d
...
...
@@ -3,7 +3,7 @@ Version: @VERSION@-@PACKAGERELEASE@
Section: admin
Priority: optional
Architecture: amd64
Depends: perl (>= 5.10.0-19), libtimedate-perl, libauthen-pam-perl, libintl-perl, rsync, libjson-perl, liblockfile-simple-perl, vncterm, qemu-server (>= 1.1-1), libwww-perl (>= 6.04-1), libnet-http-perl (>= 6.06-1), libhttp-daemon-perl, wget, libnet-dns-perl, vlan, ifenslave-2.6 (>= 1.1.0-10), liblinux-inotify2-perl, debconf (>= 0.5) | debconf-2.0, netcat-traditional, pve-cluster (>= 1.0-29), libpve-common-perl, libpve-storage-perl, libterm-readline-gnu-perl, libpve-access-control (>= 3.0-2), libio-socket-ssl-perl, libfilesys-df-perl, libfile-readbackwards-perl, libfile-sync-perl, redhat-cluster-pve, resource-agents-pve, fence-agents-pve, cstream, postfix | mail-transport-agent, libxml-parser-perl, lzop, dtach, libanyevent-perl, liburi-perl, logrotate, libanyevent-http-perl, apt-transport-https, libapt-pkg-perl, libcrypt-ssleay-perl, liblwp-protocol-https-perl, spiceterm, libuuid-perl, hdparm, gdisk, librados2-perl
Depends: perl (>= 5.10.0-19), libtimedate-perl, libauthen-pam-perl, libintl-perl, rsync, libjson-perl, liblockfile-simple-perl, vncterm, qemu-server (>= 1.1-1), libwww-perl (>= 6.04-1), libnet-http-perl (>= 6.06-1), libhttp-daemon-perl, wget, libnet-dns-perl, vlan, ifenslave-2.6 (>= 1.1.0-10), liblinux-inotify2-perl, debconf (>= 0.5) | debconf-2.0, netcat-traditional, pve-cluster (>= 1.0-29), libpve-common-perl, libpve-storage-perl, libterm-readline-gnu-perl, libpve-access-control (>= 3.0-2), libio-socket-ssl-perl, libfilesys-df-perl, libfile-readbackwards-perl, libfile-sync-perl, redhat-cluster-pve, resource-agents-pve, fence-agents-pve, cstream, postfix | mail-transport-agent, libxml-parser-perl, lzop, dtach, libanyevent-perl, liburi-perl, logrotate, libanyevent-http-perl, apt-transport-https, libapt-pkg-perl, libcrypt-ssleay-perl, liblwp-protocol-https-perl, spiceterm, libuuid-perl, hdparm, gdisk, librados2-perl
, pve-firewall
Conflicts: netcat-openbsd, vzdump
Replaces: vzdump
Provides: vzdump
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment