Commit Graph

6 Commits

Author SHA1 Message Date
Greg Farnum
578bc9c420 msgr: Remove the SimpleMessenger::bind() nonce parameter.
Instead, use the just-established nonce value.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2012-03-02 11:20:27 -08:00
Greg Farnum
ffa595598d msgr: Remove SimpleMessenger::register_entity
This function has been vestigial for a long time. Remove it and move
its remaining functionality into the constructor.
Update users to the new interface (this is remarkably easy and
simplifies the code).

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2012-03-02 11:20:27 -08:00
Tommi Virtanen
c066e92638 mds, osd, synclient: Pick cluster_addr/public_addr based on *_network.
Instead of specifying an IP address in ceph.conf like

	[global]
	cluster_addr = 10.1.2.3

you can now avoid the node-specific configuration and just say

	[global]
	cluster_network = 10.1.2.0/24

The *_network variables can also take a whitespace-separated list of
networks, to be checked in that order:

	[global]
	cluster_network = 10.1.2.0/24 192.168.42.192/26
2011-11-21 14:27:45 -08:00
Tommi Virtanen
97464bcabe msg: Move public_addr use outside ->bind() 2011-11-21 13:37:39 -08:00
Stanislav Sedov
9fde4d946f First cut of FreeBSD support. This patch allowes ceph to compile successfully
under FreeBSD.

Signed-off-by:	Stanislav Sedov <stas@FreeBSD.org>
2011-10-04 17:34:41 -07:00
Sage Weil
0fdc86389a rename source files c* -> ceph-*
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-09-23 10:04:52 -07:00