Merge "Fix migration for NIC's mtu setting"

This commit is contained in:
Jenkins 2016-12-30 09:45:26 +00:00 committed by Gerrit Code Review
commit 5410925364
2 changed files with 8 additions and 4 deletions

View File

@ -175,7 +175,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': {
@ -215,7 +216,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': {

View File

@ -92,7 +92,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': {
@ -132,7 +133,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': {