Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
fwdriver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8702eb74
authored
Mar 12, 2014
by
Bach Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
random fixes v2
parent
557ab841
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
fw.py
+1
-1
miscellaneous/firewall.conf
+3
-1
ovs.py
+1
-1
No files found.
fw.py
View file @
8702eb74
...
...
@@ -231,7 +231,7 @@ def start_networking():
reload_firewall_vlan
(
data
,
True
)
except
:
print
'nemsikerult:('
raise
#
raise
def
main
():
...
...
miscellaneous/firewall.conf
View file @
8702eb74
...
...
@@ -11,8 +11,10 @@ setuid fw
script
cd
/
home
/
fw
/
fwdriver
. /
home
/
fw
/.
virtualenvs
/
fw
/
bin
/
postactivate
. /
home
/
fw
/.
virtualenvs
/
fw
/
bin
/
activate
celeryd
-
A
fw
-
Q
firewall
,
dhcp
--
loglevel
=
info
HOSTNAME
=$(
hostname
-
s
)
exec
celeryd
-
A
fw
-
Q
${
HOSTNAME
}.
firewall
--
loglevel
=
info
-
c
1
end
script
ovs.py
View file @
8702eb74
...
...
@@ -96,7 +96,7 @@ class Switch:
name
]
+
interfaces
+
[
'tag=
%
d'
%
int
(
tag
)]
else
:
params
=
[
'add-port'
,
self
.
brname
,
name
]
if
tag
is
not
None
:
if
tag
is
not
None
and
(
trunks
is
None
or
len
(
trunks
)
==
0
)
:
params
=
params
+
[
'tag=
%
d'
%
int
(
tag
)]
if
internal
:
params
=
params
+
[
'--'
,
'set'
,
'Interface'
,
interfaces
[
0
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment