Fix migration for NIC's mtu setting
min and max setting limits added to 9.2 migration Closes-Bug: #1652608 Change-Id: Iae71a611dbc78de49456a717ccf956ae54ad15a9
This commit is contained in:
parent
dfbf7dcf91
commit
d96bf43991
|
@ -174,7 +174,8 @@ DEFAULT_RELEASE_NIC_ATTRIBUTES = {
|
|||
},
|
||||
'mtu': {
|
||||
'value': {'type': 'number', 'value': None, 'weight': 10,
|
||||
'label': 'Use Custom MTU', 'nullable': True},
|
||||
'label': 'Use Custom MTU', 'nullable': True,
|
||||
'min': 42, 'max': 65536},
|
||||
'metadata': {'weight': 20, 'label': 'MTU'}
|
||||
},
|
||||
'sriov': {
|
||||
|
@ -214,7 +215,8 @@ DEFAULT_RELEASE_BOND_ATTRIBUTES = {
|
|||
},
|
||||
'mtu': {
|
||||
'value': {'type': 'number', 'weight': 10, 'value': None,
|
||||
'label': 'Use Custom MTU', 'nullable': True},
|
||||
'label': 'Use Custom MTU', 'nullable': True,
|
||||
'min': 42, 'max': 65536},
|
||||
'metadata': {'weight': 30, 'label': 'MTU'}
|
||||
},
|
||||
'lacp': {
|
||||
|
|
|
@ -122,7 +122,8 @@ DEFAULT_NIC_ATTRIBUTES = {
|
|||
},
|
||||
'mtu': {
|
||||
'value': {'type': 'number', 'value': None, 'weight': 10,
|
||||
'label': 'Use Custom MTU', 'nullable': True},
|
||||
'label': 'Use Custom MTU', 'nullable': True,
|
||||
'min': 42, 'max': 65536},
|
||||
'metadata': {'weight': 20, 'label': 'MTU'}
|
||||
},
|
||||
'sriov': {
|
||||
|
@ -162,7 +163,8 @@ DEFAULT_BOND_ATTRIBUTES = {
|
|||
},
|
||||
'mtu': {
|
||||
'value': {'type': 'number', 'weight': 10, 'value': None,
|
||||
'label': 'Use Custom MTU', 'nullable': True},
|
||||
'label': 'Use Custom MTU', 'nullable': True,
|
||||
'min': 42, 'max': 65536},
|
||||
'metadata': {'weight': 30, 'label': 'MTU'}
|
||||
},
|
||||
'lacp': {
|
||||
|
|
Loading…
Reference in New Issue