Skip to content

Conversation

@vuntz
Copy link

@vuntz vuntz commented Jun 1, 2017

Previously we allowed custom MTU values only for the "admin", "storage"
and "os_sdn" networks. This prevents users to create custom networks
with MTU!=1500 so allow custom MTUs for all networks.

For example, a network.json containing a network like:

"storageclient": {
"add_bridge": false,
"broadcast": "10.1.5.255",
"conduit": "intf4",
"mtu": 9000,
"netmask": "255.255.255.0",
"ranges": {
"host": {
"end": "10.1.5.239",
"start": "10.1.5.10"
}
}

works now.

(cherry picked from commit 9d242e6)
(cherry picked from commit 2dcd36e)

Previously we allowed custom MTU values only for the "admin", "storage"
and "os_sdn" networks. This prevents users to create custom networks
with MTU!=1500 so allow custom MTUs for all networks.

For example, a network.json containing a network like:

"storageclient": {
  "add_bridge": false,
  "broadcast": "10.1.5.255",
  "conduit": "intf4",
  "mtu": 9000,
  "netmask": "255.255.255.0",
  "ranges": {
  "host": {
    "end": "10.1.5.239",
    "start": "10.1.5.10"
  }
}

works now.

(cherry picked from commit 9d242e6)
(cherry picked from commit 2dcd36e)
Copy link

@houndci-bot houndci-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some files could not be reviewed due to errors:

/tmp/d20170601-7604-1bdqpxx/.rubocop.yml: Style/AlignHash has the wrong names...
/tmp/d20170601-7604-1bdqpxx/.rubocop.yml: Style/AlignHash has the wrong namespace - should be Layout
/tmp/d20170601-7604-1bdqpxx/.rubocop.yml: Style/AlignParameters has the wrong namespace - should be Layout
/tmp/d20170601-7604-1bdqpxx/.rubocop.yml: Style/EmptyLinesAroundBlockBody has the wrong namespace - should be Layout
/tmp/d20170601-7604-1bdqpxx/.rubocop.yml: Style/MultilineOperationIndentation has the wrong namespace - should be Layout
Error: obsolete parameter AlignWith (for Lint/EndAlignment) found in /tmp/d20170601-7604-1bdqpxx/.rubocop.yml
AlignWith has been renamed to EnforcedStyleAlignWith

@vuntz vuntz requested review from matelakat, rsalevsky and tpatzig June 1, 2017 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants