From afcd268ea7b1149fbfb66bce4eca659b675da0a2 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Tue, 12 Dec 2017 15:53:07 +0100 Subject: New upstream version 1.10.2 --- docs/libnm/html/NMSettingTeamPort.html | 602 ++++++++++++++++++++++++++++++++- 1 file changed, 593 insertions(+), 9 deletions(-) (limited to 'docs/libnm/html/NMSettingTeamPort.html') diff --git a/docs/libnm/html/NMSettingTeamPort.html b/docs/libnm/html/NMSettingTeamPort.html index 204f838c..52030694 100644 --- a/docs/libnm/html/NMSettingTeamPort.html +++ b/docs/libnm/html/NMSettingTeamPort.html @@ -8,7 +8,7 @@ - + @@ -56,6 +56,94 @@ nm_setting_team_port_get_config () + + +gint + + +nm_setting_team_port_get_queue_id () + + + + +gint + + +nm_setting_team_port_get_prio () + + + + +gboolean + + +nm_setting_team_port_get_sticky () + + + + +gint + + +nm_setting_team_port_get_lacp_prio () + + + + +gint + + +nm_setting_team_port_get_lacp_key () + + + + +guint + + +nm_setting_team_port_get_num_link_watchers () + + + + +NMTeamLinkWatcher * + + +nm_setting_team_port_get_link_watcher () + + + + +gboolean + + +nm_setting_team_port_add_link_watcher () + + + + +void + + +nm_setting_team_port_remove_link_watcher () + + + + +gboolean + + +nm_setting_team_port_remove_link_watcher_by_value () + + + + +void + + +nm_setting_team_port_clear_link_watchers () + + @@ -67,12 +155,45 @@ - + + -gchar * +gchar * config Read / Write - + + +gint +lacp-key +Read / Write + + +gint +lacp-prio +Read / Write + + + +GPtrArray * +link-watchers +Read / Write + + +gint +prio +Read / Write + + +gint +queue-id +Read / Write + + +gboolean +sticky +Read / Write + +
@@ -92,6 +213,38 @@ NM_SETTING_TEAM_PORT_CONFIG +#define +NM_SETTING_TEAM_PORT_QUEUE_ID + + +#define +NM_SETTING_TEAM_PORT_PRIO + + +#define +NM_SETTING_TEAM_PORT_STICKY + + +#define +NM_SETTING_TEAM_PORT_LACP_PRIO + + +#define +NM_SETTING_TEAM_PORT_LACP_KEY + + +#define +NM_SETTING_TEAM_PORT_LINK_WATCHERS + + +#define +NM_SETTING_TEAM_PORT_QUEUE_ID_DEFAULT + + +#define +NM_SETTING_TEAM_PORT_LACP_PRIO_DEFAULT + +   NMSettingTeamPort @@ -100,7 +253,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMSetting
         ╰── NMSettingTeamPort
 
@@ -119,7 +272,7 @@ nm_setting_team_port_new (voidCreates a new NMSettingTeamPort object with default values.

Returns

-

the new empty NMSettingTeamPort object.

+

the new empty NMSettingTeamPort object.

[transfer full]

@@ -148,6 +301,327 @@ nm_setting_team_port_get_config ( the “config” property of the setting

+
+
+

nm_setting_team_port_get_queue_id ()

+
gint
+nm_setting_team_port_get_queue_id (NMSettingTeamPort *setting);
+
+

Parameters

+
+++++ + + + + + +

setting

the NMSettingTeamPort

 
+
+
+

Returns

+

the “queue_id” property of the setting

+
+

Since: 1.10.2

+
+
+
+

nm_setting_team_port_get_prio ()

+
gint
+nm_setting_team_port_get_prio (NMSettingTeamPort *setting);
+
+

Parameters

+
+++++ + + + + + +

setting

the NMSettingTeamPort

 
+
+
+

Returns

+

the “prio” property of the setting

+
+

Since: 1.10.2

+
+
+
+

nm_setting_team_port_get_sticky ()

+
gboolean
+nm_setting_team_port_get_sticky (NMSettingTeamPort *setting);
+
+

Parameters

+
+++++ + + + + + +

setting

the NMSettingTeamPort

 
+
+
+

Returns

+

the “sticky” property of the setting

+
+

Since: 1.10.2

+
+
+
+

nm_setting_team_port_get_lacp_prio ()

+
gint
+nm_setting_team_port_get_lacp_prio (NMSettingTeamPort *setting);
+
+

Parameters

+
+++++ + + + + + +

setting

the NMSettingTeamPort

 
+
+
+

Returns

+

the “lacp-prio” property of the setting

+
+

Since: 1.10.2

+
+
+
+

nm_setting_team_port_get_lacp_key ()

+
gint
+nm_setting_team_port_get_lacp_key (NMSettingTeamPort *setting);
+
+

Parameters

+
+++++ + + + + + +

setting

the NMSettingTeamPort

 
+
+
+

Returns

+

the “lacp-key” property of the setting

+
+

Since: 1.10.2

+
+
+
+

nm_setting_team_port_get_num_link_watchers ()

+
guint
+nm_setting_team_port_get_num_link_watchers
+                               (NMSettingTeamPort *setting);
+
+

Parameters

+
+++++ + + + + + +

setting

the NMSettingTeamPort

 
+
+
+

Returns

+

the number of configured link watchers

+
+

Since: 1.10.2

+
+
+
+

nm_setting_team_port_get_link_watcher ()

+
NMTeamLinkWatcher *
+nm_setting_team_port_get_link_watcher (NMSettingTeamPort *setting,
+                                       guint idx);
+
+

Parameters

+
+++++ + + + + + + + + + + + + +

setting

the NMSettingTeamPort

 

idx

index number of the link watcher to return

 
+
+
+

Returns

+

the link watcher at index idx +.

+

[transfer none]

+
+

Since: 1.10.2

+
+
+
+

nm_setting_team_port_add_link_watcher ()

+
gboolean
+nm_setting_team_port_add_link_watcher (NMSettingTeamPort *setting,
+                                       NMTeamLinkWatcher *link_watcher);
+

Appends a new link watcher to the setting.

+
+

Parameters

+
+++++ + + + + + + + + + + + + +

setting

the NMSettingTeamPort

 

link_watcher

the link watcher to add

 
+
+
+

Returns

+

TRUE if the link watcher is added; FALSE if an identical link +watcher was already there.

+
+

Since: 1.10.2

+
+
+
+

nm_setting_team_port_remove_link_watcher ()

+
void
+nm_setting_team_port_remove_link_watcher
+                               (NMSettingTeamPort *setting,
+                                guint idx);
+

Removes the link watcher at index idx.

+
+

Parameters

+
+++++ + + + + + + + + + + + + +

setting

the NMSettingTeamPort

 

idx

index number of the link watcher to remove

 
+
+

Since: 1.10.2

+
+
+
+

nm_setting_team_port_remove_link_watcher_by_value ()

+
gboolean
+nm_setting_team_port_remove_link_watcher_by_value
+                               (NMSettingTeamPort *setting,
+                                NMTeamLinkWatcher *link_watcher);
+

Removes the link watcher entry matching link_watcher.

+
+

Parameters

+
+++++ + + + + + + + + + + + + +

setting

the NMSettingTeamPort

 

link_watcher

the link watcher to remove

 
+
+
+

Returns

+

TRUE if the link watcher was found and removed, FALSE otherwise.

+
+

Since: 1.10.2

+
+
+
+

nm_setting_team_port_clear_link_watchers ()

+
void
+nm_setting_team_port_clear_link_watchers
+                               (NMSettingTeamPort *setting);
+

Removes all configured link watchers.

+
+

Parameters

+
+++++ + + + + + +

setting

the NMSettingTeamPort

 
+
+

Since: 1.10.2

+

Types and Values

@@ -159,7 +633,55 @@ nm_setting_team_port_get_config (

NM_SETTING_TEAM_PORT_CONFIG

-
#define NM_SETTING_TEAM_PORT_CONFIG     "config"
+
#define NM_SETTING_TEAM_PORT_CONFIG        "config"
+
+
+
+
+

NM_SETTING_TEAM_PORT_QUEUE_ID

+
#define NM_SETTING_TEAM_PORT_QUEUE_ID      "queue-id"
+
+
+
+
+

NM_SETTING_TEAM_PORT_PRIO

+
#define NM_SETTING_TEAM_PORT_PRIO          "prio"
+
+
+
+
+

NM_SETTING_TEAM_PORT_STICKY

+
#define NM_SETTING_TEAM_PORT_STICKY        "sticky"
+
+
+
+
+

NM_SETTING_TEAM_PORT_LACP_PRIO

+
#define NM_SETTING_TEAM_PORT_LACP_PRIO     "lacp-prio"
+
+
+
+
+

NM_SETTING_TEAM_PORT_LACP_KEY

+
#define NM_SETTING_TEAM_PORT_LACP_KEY      "lacp-key"
+
+
+
+
+

NM_SETTING_TEAM_PORT_LINK_WATCHERS

+
#define NM_SETTING_TEAM_PORT_LINK_WATCHERS "link-watchers"
+
+
+
+
+

NM_SETTING_TEAM_PORT_QUEUE_ID_DEFAULT

+
#define NM_SETTING_TEAM_PORT_QUEUE_ID_DEFAULT   -1
+
+
+
+
+

NM_SETTING_TEAM_PORT_LACP_PRIO_DEFAULT

+
#define NM_SETTING_TEAM_PORT_LACP_PRIO_DEFAULT 255
 

@@ -173,7 +695,7 @@ nm_setting_team_port_get_config (

Property Details

The “config” property

-
  “config”                   gchar *
+
  “config”                   gchar *

The JSON configuration for the team port. The property should contain raw JSON configuration data suitable for teamd, because the value is passed directly to teamd. If not specified, the default configuration is @@ -181,9 +703,71 @@ used. See man teamd.conf for the format details.

Flags: Read / Write

Default value: NULL

+
+
+

The “lacp-key” property

+
  “lacp-key”                 gint
+

Corresponds to the teamd ports.PORTIFNAME.lacp_key.

+

Flags: Read / Write

+

Default value: 0

+

Since: 1.10.2

+
+
+
+

The “lacp-prio” property

+
  “lacp-prio”                gint
+

Corresponds to the teamd ports.PORTIFNAME.lacp_prio.

+

Flags: Read / Write

+

Default value: 0

+

Since: 1.10.2

+
+
+
+

The “link-watchers” property

+
  “link-watchers”            GPtrArray *
+

Link watchers configuration for the connection: each link watcher is +defined by a dictionary, whose keys depend upon the selected link +watcher. Available link watchers are 'ethtool', 'nsna_ping' and +'arp_ping' and it is specified in the dictionary with the key 'name'. +Available keys are: ethtool: 'delay-up', 'delay-down', 'init-wait'; +nsna_ping: 'init-wait', 'interval', 'missed-max', 'target-host'; +arp_ping: all the ones in nsna_ping and 'source-host', 'validate-active', +'validate-incative', 'send-always'. See teamd.conf man for more details.

+

Element-Type: NMTeamLinkWatcher

+

Flags: Read / Write

+

Since: 1.10.2

+
+
+
+

The “prio” property

+
  “prio”                     gint
+

Corresponds to the teamd ports.PORTIFNAME.prio.

+

Flags: Read / Write

+

Default value: 0

+

Since: 1.10.2

+
+
+
+

The “queue-id” property

+
  “queue-id”                 gint
+

Corresponds to the teamd ports.PORTIFNAME.queue_id. +When set to -1 means the parameter is skipped from the json config.

+

Flags: Read / Write

+

Default value: 0

+

Since: 1.10.2

+
+
+
+

The “sticky” property

+
  “sticky”                   gboolean
+

Corresponds to the teamd ports.PORTIFNAME.sticky.

+

Flags: Read / Write

+

Default value: FALSE

+

Since: 1.10.2

+
+
Generated by GTK-Doc V1.26 \ No newline at end of file -- cgit 1.3.0-6-gf8a5