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
ca39b13b
Commit
ca39b13b
authored
Mar 28, 2012
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kvm network: allow to configure VLAN Id on the GUI
parent
86765b33
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
1 deletion
+23
-1
changelog.Debian
debian/changelog.Debian
+6
-0
defines.mk
defines.mk
+1
-1
Parser.js
www/manager/Parser.js
+3
-0
NetworkEdit.js
www/manager/qemu/NetworkEdit.js
+13
-0
No files found.
debian/changelog.Debian
View file @
ca39b13b
pve-manager (2.0-50) unstable; urgency=low
* kvm network: allow to configure VLAN Id on the GUI
-- Proxmox Support Team <support@proxmox.com> Wed, 28 Mar 2012 07:11:55 +0200
pve-manager (2.0-49) unstable; urgency=low
* improve HA task display
...
...
defines.mk
View file @
ca39b13b
...
...
@@ -2,7 +2,7 @@ RELEASE=2.0
VERSION=2.0
PACKAGE=pve-manager
PACKAGERELEASE=
49
PACKAGERELEASE=
50
BINDIR=${DESTDIR}/usr/bin
PERLLIBDIR=${DESTDIR}/usr/share/perl5
...
...
www/manager/Parser.js
View file @
ca39b13b
...
...
@@ -52,6 +52,9 @@ Ext.define('PVE.Parser', { statics: {
}
if
(
net
.
bridge
)
{
netstr
+=
"
,bridge=
"
+
net
.
bridge
;
if
(
net
.
tag
)
{
netstr
+=
"
,tag=
"
+
net
.
tag
;
}
}
if
(
net
.
rate
)
{
netstr
+=
"
,rate=
"
+
net
.
rate
;
...
...
www/manager/qemu/NetworkEdit.js
View file @
ca39b13b
...
...
@@ -12,6 +12,7 @@ Ext.define('PVE.qemu.NetworkInputPanel', {
return
{};
}
else
if
(
values
.
networkmode
===
'
bridge
'
)
{
me
.
network
.
bridge
=
values
.
bridge
;
me
.
network
.
tag
=
values
.
tag
;
}
else
{
me
.
network
.
bridge
=
undefined
;
}
...
...
@@ -82,10 +83,22 @@ Ext.define('PVE.qemu.NetworkInputPanel', {
}
me
.
down
(
'
field[name=bridge]
'
).
setDisabled
(
!
value
);
me
.
down
(
'
field[name=bridge]
'
).
validate
();
me
.
down
(
'
field[name=tag]
'
).
setDisabled
(
!
value
);
}
}
},
me
.
bridgesel
,
{
xtype
:
'
numberfield
'
,
name
:
'
tag
'
,
minValue
:
1
,
maxValue
:
4094
,
value
:
''
,
emptyText
:
'
no VLAN
'
,
fieldLabel
:
'
VLAN Tag
'
,
labelAlign
:
'
right
'
,
allowBlank
:
true
},
{
xtype
:
'
radiofield
'
,
name
:
'
networkmode
'
,
...
...
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