[MidoNet-dev] How to set config params using the new config framework

Guillermo Ontañón guillermo at midokura.com
Tue Apr 28 14:04:44 UTC 2015


Here's the man page, comes installed with the agent:

https://github.com/midonet/midonet/blob/master/midolman/src/man/mn-conf.1.ronn

G

On Tue, Apr 28, 2015 at 4:01 PM, Adam Johnson <adam at midokura.com> wrote:
> Could you point me to some documentation on how to use mn-conf?
>
> Thanks!
> Adam
>
> On Tue, Apr 28, 2015 at 9:55 AM, Guillermo Ontañón <guillermo at midokura.com>
> wrote:
>>
>> Hi Tomohiko,
>>
>> Please check mn-conf(1), midonet.conf/midolman.conf are only supposed
>> to hold the config keys necessary to bootstrap the configuration
>> library. Namely: zookeeper server address and root key.
>>
>> The reason midonet agent picks up values from /etc/midolman.conf is
>> purely for backwards compatibility, which was preserved 100%. But new
>> services, such as the cluster daemon, or configuration keys, should
>> not rely on the old files. In other words: you should use mn-conf to
>> set up your configuration.
>>
>> Regards,
>> G
>>
>>
>>
>> On Tue, Apr 28, 2015 at 5:34 AM, Tomohiko Kimura <tomohiko at midokura.com>
>> wrote:
>> > Hello Guillermo;
>> >
>> > I tried to change the Cluster Node configurations on devstack, so I
>> > directly
>> > modified configs in /etc/midonet/midonet.conf, but it doesn't seem
>> > MidoNodeConfigurator is reading from there nor from
>> > /etc/midolman/midolman.conf. Do you know what's happening? What's
>> > interesting is that Midolman seems able to read the config parameters
>> > from
>> > those files...
>> >
>> > Thanks,
>> > Tomohiko
>> _______________________________________________
>> MidoNet-dev mailing list
>> MidoNet-dev at lists.midonet.org
>> http://lists.midonet.org/listinfo/midonet-dev
>
>


More information about the MidoNet-dev mailing list