Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

network: Allow custom MTU for all networks (bsc#1024277) #31

Open
wants to merge 1 commit into
base: stable/sap/3.0
Choose a base branch
from

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

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