common: revert public_addr setting to a string

This was a string in the old schema, and tests
depended on that -- if we want to change its type
let's do that separately to the infrastructure changes.

Signed-off-by: John Spray <john.spray@redhat.com>
This commit is contained in:
John Spray 2017-07-13 08:24:31 -04:00
parent 1e9b62c1b6
commit a3054ef0d9

View File

@ -105,14 +105,12 @@ const std::vector<Option> ceph_options = {
.add_service("osd")
.add_tag("network"),
Option("public_network", Option::TYPE_ADDR, Option::LEVEL_ADVANCED)
.set_default("")
Option("public_network", Option::TYPE_STR, Option::LEVEL_ADVANCED)
.add_service("mon mds osd mgr")
.add_tag("network")
.set_description(""),
Option("cluster_network", Option::TYPE_STR, Option::LEVEL_ADVANCED)
.set_default("")
.add_service("osd")
.add_tag("network")
.set_description(""),