Ben Pfaff
3eeebb50aa
Pass --enable-snat to configure for datapath module also.
2008-11-03 16:26:51 -08:00
Ben Pfaff
8872d86328
Make COMMANDS option in openflow-switch defaults file work.
...
The setting was being accidentally ignored, so commands like "reboot", etc.
would not work at all.
2008-11-03 10:45:38 -08:00
Ben Pfaff
f314a833ae
Add libncurses5-dev as build dependency for openflow.
2008-10-31 14:14:22 -07:00
Ben Pfaff
b5a4509474
Implement log rotation in openflow-switch.
2008-10-31 14:09:53 -07:00
Ben Pfaff
02074909ec
Make secchan log to file by default.
2008-10-31 14:09:53 -07:00
Ben Pfaff
77d9bc9026
Add /var/log/openflow directory to openflow-common.
...
This ensures that every system with OpenFlow packages will have this
directory available for logging.
2008-10-31 14:09:53 -07:00
Ben Pfaff
2e424547ff
Fix openflow-datapath-source bugs added in "Simplify debian/rules..." commit.
2008-10-31 14:09:53 -07:00
Ben Pfaff
aaab8d4cf0
Add settings for switch netmask and gateway for in-band mode to init script.
...
Previously we supported setting a switch IP address but not those
parameters, which are obviously required also.
2008-10-31 14:09:53 -07:00
Ben Pfaff
4f76bd3121
Add extension hooks to debian/rules.
2008-10-31 14:09:53 -07:00
Ben Pfaff
480d4a9a7b
Move ofp-switch-config into new package openflow-switch-config.
...
This reduces the openflow-switch package's number of dependencies, making
it easier to install.
2008-10-31 14:09:53 -07:00
Ben Pfaff
6fc8bc9f20
In openflow-switch init script, correct secchan option name.
2008-10-31 14:09:53 -07:00
Ben Pfaff
77171d02d6
In openflow-switch init script, do not re-load openflow_mod if already loaded.
2008-10-31 14:09:53 -07:00
Ben Pfaff
3e2e9b420b
Ignore openflow-pki-server directory.
2008-10-31 14:09:53 -07:00
Ben Pfaff
42992b0468
Simplify debian/rules by adding new openflow-datapath-source.install file.
2008-10-30 10:24:36 -07:00
Ben Pfaff
686cd5c3d8
Break HTTP parts of openflow-pki package into new openflow-pki-server package.
2008-10-30 10:24:02 -07:00
Ben Pfaff
60bcda0381
Fix support for out-of-band control in Debian switch init script.
...
Not tested.
2008-10-29 16:19:43 -07:00
Ben Pfaff
b2aec952c7
Add Nicira extension for remote command execution.
2008-10-27 12:58:27 -07:00
Ben Pfaff
9abe7b6f19
Fix typo in default switch config.
2008-10-27 12:58:27 -07:00
Ben Pfaff
9795d7d750
Update manpages to mention new --log-file option.
...
Move vlog option descriptions into a separate file lib/vlog.man that
is substituted into manpages.
Get rid of individual rules for substituting most files in favor of
a single suffix rule. Unfortunately this loses the (Emacs-specific)
read-only markings but it simplifies the makefiles.
2008-10-23 14:07:26 -07:00
Ben Pfaff
9246d121a9
Enable SNAT in Debian packages.
2008-10-23 10:58:24 -07:00
Ben Pfaff
8478ab12fe
Add support for bootstrapping the CA certificate to the Debian packaging.
2008-10-23 10:58:24 -07:00
Justin Pettit
f1126f43ad
Switch default OpenFlow port from 975 and 976 to 6633.
2008-10-22 17:17:50 -07:00
Ben Pfaff
6a8600f5db
Add support for packaging openflowext.
2008-10-21 16:31:50 -07:00
Ben Pfaff
3f43245fa5
Add missing Debian package dependency.
...
openflow-pki needs ofp-pki, which is openflow-common.
Thanks to Teemu for reporting the problem.
2008-10-17 10:12:17 -07:00
Ben Pfaff
4fbcabe104
Revamp build system to make it easier to integrate openflowext.
2008-10-16 11:11:59 -07:00
Ben Pfaff
912997a9d2
Ignore generated files in debian/.
2008-09-17 11:08:27 -07:00
Ben Pfaff
5990f0423c
Add missing prerequisite to debian/control.
2008-08-13 14:29:18 -07:00
Ben Pfaff
245f96aebc
dhcp: Make dhcp_option_to_string() act sensibly with null or empty options.
...
Also, update ofp-switch-setup to parse the new syntax.
2008-07-30 15:46:38 -07:00
Ben Pfaff
bb55cf014a
Debian: Listen on Unix domain socket for management connections.
2008-07-30 15:46:36 -07:00
Ben Pfaff
fcb73d77bf
Don't invoke Debconf from openflow-switch postinst.
...
This was in there because at one time it seemed desirable to configure
from the postinst, but that idea was abandoned. Now Debconf seems to
be screwing something up somehow, so we might as well not run it at all,
since it wasn't doing anything useful.
2008-07-23 17:21:58 -07:00
Ben Pfaff
9eb21b5b43
Fix kdist_clean target in debian/rules.
...
This fixes "module-assistant auto-install openflow-datapath" for
bootstrapping from a clean environment. (Use "m-a -f purge
openflow-datapath" to test that it works starting from an un-clean
environment.)
2008-07-23 16:42:05 -07:00
Ben Pfaff
635f9e6299
Update Debconf templates PO file.
2008-07-23 14:57:22 -07:00
Ben Pfaff
228617736a
Don't log messages to the console by default in Debian package.
2008-07-23 14:55:04 -07:00
Ben Pfaff
28318b5fdf
Be less picky about precise name of process in init script.
...
The previous version always printed ERROR because for whatever reason
we were comparing "/usr/sbin/secchan" against "secchan", which of
course failed.
2008-07-23 14:55:04 -07:00
Ben Pfaff
d72616d544
Only generate private key and certificate request if ssl enabled.
...
Generating them unconditionally caused a problem with the init script:
the script required there to be a certificate for the private key if
the private key existed, but we do want to allow TCP-only configurations
and always having a private key prevented that.
Also, give the user advice on how to deal with this problem when it
arises in the init script.
2008-07-23 14:55:04 -07:00
Ben Pfaff
df3a28bf74
Support controller discovery in Debian packages.
2008-07-23 13:12:23 -07:00
Ben Pfaff
88b554881b
Do the Debian package build in a _debian subdirectory.
...
This makes it easier to do a Debian build in the same source tree
also being used for other development.
2008-07-21 15:45:35 -07:00
Ben Pfaff
62fd5fc447
Implement Debian-based packaging and deployment infrastructure.
2008-06-13 13:36:00 -07:00