Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 878071 Details for
Bug 1066549
openstack-puppet-modules: puppet fail deploy neutron-controller when vlan_range value without '#:#' .
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
puppet-neutron patch
puppet-neutron-vlan_ranges.patch (text/plain), 1.48 KB, created by
Martin Magr
on 2014-03-24 13:48:35 UTC
(
hide
)
Description:
puppet-neutron patch
Filename:
MIME Type:
Creator:
Martin Magr
Created:
2014-03-24 13:48:35 UTC
Size:
1.48 KB
patch
obsolete
>From 265498fcf59bd2e787bb01361999771b4ec4e833 Mon Sep 17 00:00:00 2001 >From: Martin Magr <mmagr@redhat.com> >Date: Wed, 19 Feb 2014 14:25:51 +0100 >Subject: [PATCH] Don't be too strict for vlan_ranges > >VLAN range can be also in format of physical network or with only >single ID. This patch makes those values pass the validation > >For more info please check https://bugzilla.redhat.com/show_bug.cgi?id=1066549 > >Change-Id: I054fbd45ac2228a3a579c08cdd617d970abcaddf >(cherry picked from commit 8fd57075d13e7c4e84e66378e2490eb02f3a00c1) >--- > lib/puppet/parser/functions/validate_network_vlan_ranges.rb | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/packstack/puppet/modules/neutron/lib/puppet/parser/functions/validate_network_vlan_ranges.rb b/packstack/puppet/modules/neutron/lib/puppet/parser/functions/validate_network_vlan_ranges.rb >index 013ee08..f363ef5 100644 >--- a/packstack/puppet/modules/neutron/lib/puppet/parser/functions/validate_network_vlan_ranges.rb >+++ b/packstack/puppet/modules/neutron/lib/puppet/parser/functions/validate_network_vlan_ranges.rb >@@ -36,6 +36,9 @@ module Puppet::Parser::Functions > if ((second_id - first_id) < 0 ) > raise Puppet::Error, "network vlan ranges are invalid." > end >+ elsif m = /^([^:]+)?(:\d+)?$/.match(range) >+ # Either only name of physical network or single vlan id has >+ # been passed. This is also correct. > elsif range > raise Puppet::Error, "network vlan ranges are invalid." > end >-- >1.8.5.3
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1066549
: 878071