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 649138 Details for
Bug 877792
LinuxBridge plugin doesn't preserve the order of routing table after rebooting the network node.
[?]
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]
Replacement: part2 of patches for routing table order.
ip_lib.py.patch (text/plain), 1.76 KB, created by
Etsuji Nakai
on 2012-11-21 10:46:46 UTC
(
hide
)
Description:
Replacement: part2 of patches for routing table order.
Filename:
MIME Type:
Creator:
Etsuji Nakai
Created:
2012-11-21 10:46:46 UTC
Size:
1.76 KB
patch
obsolete
>--- /usr/lib/python2.6/site-packages/quantum/agent/linux/ip_lib.py.orig 2012-11-21 13:13:20.641924460 +0900 >+++ /usr/lib/python2.6/site-packages/quantum/agent/linux/ip_lib.py 2012-11-21 19:20:53.761904659 +0900 >@@ -327,6 +327,38 @@ > > return retval > >+ def pullup_route(self, interface_name): >+ device_list = [] >+ device_route_list_lines = self._run('list', 'proto', 'kernel', >+ 'dev', interface_name).split('\n') >+ for device_route_line in device_route_list_lines: >+ try: >+ subnet = device_route_line.split()[0] >+ except: >+ continue >+ subnet_route_list_lines = self._run('list', 'proto', 'kernel', >+ 'match', subnet).split('\n') >+ for subnet_route_line in subnet_route_list_lines: >+ i = iter(subnet_route_line.split()) >+ while(i.next() != 'dev'): pass >+ device = i.next() >+ try: >+ while(i.next() != 'src'): pass >+ src = i.next() >+ except: >+ src = '' >+ if (device == interface_name): >+ break >+ device_list.append((device, src)) >+ >+ for (device, src) in device_list: >+ self._as_root('del', subnet, 'dev', device) >+ if (src != ''): >+ self._as_root('append', subnet, 'proto', 'kernel', >+ 'src', src, 'dev', device) >+ else: >+ self._as_root('append', subnet, 'proto', 'kernel', >+ 'dev', device) > > class IpNetnsCommand(IpCommandBase): > COMMAND = 'netns' >
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 877792
:
649079
|
649081
| 649138 |
649670