#! /bin/sh
-# Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2016 Nicira, Inc.
+# Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2016, 2017 Nicira, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
set "$@" external-ids:hostname="\"$(hostname -f)\""
+ set "$@" external-ids:rundir="\"$rundir\""
+
if test X"$SYSTEM_TYPE" != X; then
set "$@" system-type="\"$SYSTEM_TYPE\""
else
qualified domain name since version 2.6.2.
</column>
+ <column name="external_ids" key="rundir">
+ In Open vSwitch 2.8 and later, the run directory of the running Open
+ vSwitch daemon. This directory is used for runtime state such as
+ control and management sockets. The value of <ref
+ column="other_config" key="vhost-sock-dir"/> is relative to this
+ directory.
+ </column>
+
<column name="other_config" key="stats-update-interval"
type='{"type": "integer", "minInteger": 5000}'>
<p>
<column name="other_config" key="vhost-sock-dir"
type='{"type": "string"}'>
<p>
- Specifies the path to the vhost-user unix domain socket files. This
- path must exist and be a subdirectory tree of the Open vSwitch
- run directory.
+ Specifies a relative path from <ref column="external_ids"
+ key="rundir"/> to the vhost-user unix domain socket files. If this
+ value is unset, the sockets are put directly in <ref
+ column="external_ids" key="rundir"/>.
</p>
<p>
- Defaults to the working directory of the application. Changing this
- value requires restarting the daemon.
+ Changing this value requires restarting the daemon.
</p>
</column>