diff options
Diffstat (limited to 'docs/libnm/html/NMSettingOvsPort.html')
| -rw-r--r-- | docs/libnm/html/NMSettingOvsPort.html | 252 |
1 files changed, 252 insertions, 0 deletions
diff --git a/docs/libnm/html/NMSettingOvsPort.html b/docs/libnm/html/NMSettingOvsPort.html index d73d5b28..f7e588c9 100644 --- a/docs/libnm/html/NMSettingOvsPort.html +++ b/docs/libnm/html/NMSettingOvsPort.html @@ -92,6 +92,54 @@ <a class="link" href="NMSettingOvsPort.html#nm-setting-ovs-port-get-bond-downdelay" title="nm_setting_ovs_port_get_bond_downdelay ()">nm_setting_ovs_port_get_bond_downdelay</a> <span class="c_punctuation">()</span> </td> </tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="NMSettingOvsPort.html#nm-setting-ovs-port-add-trunk" title="nm_setting_ovs_port_add_trunk ()">nm_setting_ovs_port_add_trunk</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingOvsPort.html#nm-setting-ovs-port-get-num-trunks" title="nm_setting_ovs_port_get_num_trunks ()">nm_setting_ovs_port_get_num_trunks</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="NMSetting.html#NMRange"><span class="returnvalue">NMRange</span></a> * +</td> +<td class="function_name"> +<a class="link" href="NMSettingOvsPort.html#nm-setting-ovs-port-get-trunk" title="nm_setting_ovs_port_get_trunk ()">nm_setting_ovs_port_get_trunk</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="NMSettingOvsPort.html#nm-setting-ovs-port-remove-trunk" title="nm_setting_ovs_port_remove_trunk ()">nm_setting_ovs_port_remove_trunk</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +</td> +<td class="function_name"> +<a class="link" href="NMSettingOvsPort.html#nm-setting-ovs-port-remove-trunk-by-value" title="nm_setting_ovs_port_remove_trunk_by_value ()">nm_setting_ovs_port_remove_trunk_by_value</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="NMSettingOvsPort.html#nm-setting-ovs-port-clear-trunks" title="nm_setting_ovs_port_clear_trunks ()">nm_setting_ovs_port_clear_trunks</a> <span class="c_punctuation">()</span> +</td> +</tr> </tbody> </table></div> </div> @@ -117,6 +165,10 @@ </tr> <tr> <td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="NMSettingOvsPort.html#NM-SETTING-OVS-PORT-TRUNKS:CAPS" title="NM_SETTING_OVS_PORT_TRUNKS">NM_SETTING_OVS_PORT_TRUNKS</a></td> +</tr> +<tr> +<td class="define_keyword">#define</td> <td class="function_name"><a class="link" href="NMSettingOvsPort.html#NM-SETTING-OVS-PORT-LACP:CAPS" title="NM_SETTING_OVS_PORT_LACP">NM_SETTING_OVS_PORT_LACP</a></td> </tr> <tr> @@ -310,6 +362,200 @@ nm_setting_ovs_port_get_bond_downdelay </div> <p class="since">Since: 1.10</p> </div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ovs-port-add-trunk"></a><h3>nm_setting_ovs_port_add_trunk ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_setting_ovs_port_add_trunk (<em class="parameter"><code><a class="link" href="NMSettingOvsPort.html" title="NMSettingOvsPort"><span class="type">NMSettingOvsPort</span></a> *setting</code></em>, + <em class="parameter"><code><a class="link" href="NMSetting.html#NMRange"><span class="type">NMRange</span></a> *trunk</code></em>);</pre> +<p>Appends a new trunk range to the setting. +This takes a reference to <em class="parameter"><code>trunk</code></em> +.</p> +<div class="refsect3"> +<a name="nm-setting-ovs-port-add-trunk.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>setting</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingOvsPort.html" title="NMSettingOvsPort"><span class="type">NMSettingOvsPort</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>trunk</p></td> +<td class="parameter_description"><p>the trunk to add</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.42</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ovs-port-get-num-trunks"></a><h3>nm_setting_ovs_port_get_num_trunks ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> +nm_setting_ovs_port_get_num_trunks (<em class="parameter"><code><a class="link" href="NMSettingOvsPort.html" title="NMSettingOvsPort"><span class="type">NMSettingOvsPort</span></a> *setting</code></em>);</pre> +<div class="refsect3"> +<a name="nm-setting-ovs-port-get-num-trunks.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>setting</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingOvsPort.html" title="NMSettingOvsPort"><span class="type">NMSettingOvsPort</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-ovs-port-get-num-trunks.returns"></a><h4>Returns</h4> +<p> the number of trunk ranges</p> +</div> +<p class="since">Since: 1.42</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ovs-port-get-trunk"></a><h3>nm_setting_ovs_port_get_trunk ()</h3> +<pre class="programlisting"><a class="link" href="NMSetting.html#NMRange"><span class="returnvalue">NMRange</span></a> * +nm_setting_ovs_port_get_trunk (<em class="parameter"><code><a class="link" href="NMSettingOvsPort.html" title="NMSettingOvsPort"><span class="type">NMSettingOvsPort</span></a> *setting</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> +<div class="refsect3"> +<a name="nm-setting-ovs-port-get-trunk.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>setting</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingOvsPort.html" title="NMSettingOvsPort"><span class="type">NMSettingOvsPort</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>idx</p></td> +<td class="parameter_description"><p>index number of the trunk range to return</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-ovs-port-get-trunk.returns"></a><h4>Returns</h4> +<p>the trunk range at index <em class="parameter"><code>idx</code></em> +. </p> +<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p> +</div> +<p class="since">Since: 1.42</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ovs-port-remove-trunk"></a><h3>nm_setting_ovs_port_remove_trunk ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_setting_ovs_port_remove_trunk (<em class="parameter"><code><a class="link" href="NMSettingOvsPort.html" title="NMSettingOvsPort"><span class="type">NMSettingOvsPort</span></a> *setting</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> +<p>Removes the trunk range at index <em class="parameter"><code>idx</code></em> +.</p> +<div class="refsect3"> +<a name="nm-setting-ovs-port-remove-trunk.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>setting</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingOvsPort.html" title="NMSettingOvsPort"><span class="type">NMSettingOvsPort</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>idx</p></td> +<td class="parameter_description"><p>index number of the trunk range.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since: 1.42</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ovs-port-remove-trunk-by-value"></a><h3>nm_setting_ovs_port_remove_trunk_by_value ()</h3> +<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +nm_setting_ovs_port_remove_trunk_by_value + (<em class="parameter"><code><a class="link" href="NMSettingOvsPort.html" title="NMSettingOvsPort"><span class="type">NMSettingOvsPort</span></a> *setting</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> start</code></em>, + <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> end</code></em>);</pre> +<p>Remove the trunk range with range <em class="parameter"><code>start</code></em> + to <em class="parameter"><code>end</code></em> +.</p> +<div class="refsect3"> +<a name="nm-setting-ovs-port-remove-trunk-by-value.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>setting</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingOvsPort.html" title="NMSettingOvsPort"><span class="type">NMSettingOvsPort</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>start</p></td> +<td class="parameter_description"><p>the trunk range start index</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>end</p></td> +<td class="parameter_description"><p>the trunk range end index</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="nm-setting-ovs-port-remove-trunk-by-value.returns"></a><h4>Returns</h4> +<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the trunk range was found and removed; <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p> +</div> +<p class="since">Since: 1.42</p> +</div> +<hr> +<div class="refsect2"> +<a name="nm-setting-ovs-port-clear-trunks"></a><h3>nm_setting_ovs_port_clear_trunks ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +nm_setting_ovs_port_clear_trunks (<em class="parameter"><code><a class="link" href="NMSettingOvsPort.html" title="NMSettingOvsPort"><span class="type">NMSettingOvsPort</span></a> *setting</code></em>);</pre> +<p>Removes all configured trunk ranges.</p> +<div class="refsect3"> +<a name="nm-setting-ovs-port-clear-trunks.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>setting</p></td> +<td class="parameter_description"><p>the <a class="link" href="NMSettingOvsPort.html" title="NMSettingOvsPort"><span class="type">NMSettingOvsPort</span></a></p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<p class="since">Since: 1.42</p> +</div> </div> <div class="refsect1"> <a name="NMSettingOvsPort.other_details"></a><h2>Types and Values</h2> @@ -332,6 +578,12 @@ nm_setting_ovs_port_get_bond_downdelay </div> <hr> <div class="refsect2"> +<a name="NM-SETTING-OVS-PORT-TRUNKS:CAPS"></a><h3>NM_SETTING_OVS_PORT_TRUNKS</h3> +<pre class="programlisting">#define NM_SETTING_OVS_PORT_TRUNKS "trunks" +</pre> +</div> +<hr> +<div class="refsect2"> <a name="NM-SETTING-OVS-PORT-LACP:CAPS"></a><h3>NM_SETTING_OVS_PORT_LACP</h3> <pre class="programlisting">#define NM_SETTING_OVS_PORT_LACP "lacp" </pre> |