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
b7baac5e
Commit
b7baac5e
authored
Feb 12, 2015
by
Alexandre Derumier
Committed by
Dietmar Maurer
Feb 13, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add multiqueues field to nic form
Signed-off-by:
Alexandre Derumier
<
aderumier@odiso.com
>
parent
c4c740ea
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
Parser.js
www/manager/Parser.js
+3
-0
NetworkEdit.js
www/manager/qemu/NetworkEdit.js
+10
-0
No files found.
www/manager/Parser.js
View file @
b7baac5e
...
@@ -66,6 +66,9 @@ Ext.define('PVE.Parser', { statics: {
...
@@ -66,6 +66,9 @@ Ext.define('PVE.Parser', { statics: {
if
(
net
.
rate
)
{
if
(
net
.
rate
)
{
netstr
+=
"
,rate=
"
+
net
.
rate
;
netstr
+=
"
,rate=
"
+
net
.
rate
;
}
}
if
(
net
.
queues
)
{
netstr
+=
"
,queues=
"
+
net
.
queues
;
}
if
(
net
.
disconnect
)
{
if
(
net
.
disconnect
)
{
netstr
+=
"
,link_down=
"
+
net
.
disconnect
;
netstr
+=
"
,link_down=
"
+
net
.
disconnect
;
}
}
...
...
www/manager/qemu/NetworkEdit.js
View file @
b7baac5e
...
@@ -19,6 +19,7 @@ Ext.define('PVE.qemu.NetworkInputPanel', {
...
@@ -19,6 +19,7 @@ Ext.define('PVE.qemu.NetworkInputPanel', {
}
}
me
.
network
.
macaddr
=
values
.
macaddr
;
me
.
network
.
macaddr
=
values
.
macaddr
;
me
.
network
.
disconnect
=
values
.
disconnect
;
me
.
network
.
disconnect
=
values
.
disconnect
;
me
.
network
.
queues
=
values
.
queues
;
if
(
values
.
rate
)
{
if
(
values
.
rate
)
{
me
.
network
.
rate
=
values
.
rate
;
me
.
network
.
rate
=
values
.
rate
;
...
@@ -149,6 +150,15 @@ Ext.define('PVE.qemu.NetworkInputPanel', {
...
@@ -149,6 +150,15 @@ Ext.define('PVE.qemu.NetworkInputPanel', {
emptyText
:
'
unlimited
'
,
emptyText
:
'
unlimited
'
,
allowBlank
:
true
allowBlank
:
true
},
},
{
xtype
:
'
numberfield
'
,
name
:
'
queues
'
,
fieldLabel
:
gettext
(
'
Multiqueues
'
),
minValue
:
1
,
maxValue
:
8
,
value
:
''
,
allowBlank
:
true
},
{
{
xtype
:
'
pvecheckbox
'
,
xtype
:
'
pvecheckbox
'
,
fieldLabel
:
gettext
(
'
Disconnect
'
),
fieldLabel
:
gettext
(
'
Disconnect
'
),
...
...
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