SettingBridge
Object Hierarchy:
Description:
Bridging Settings
Namespace: NM
Package: libnm
Content:
Constants:
- public const string AGEING_TIME
- public const string FORWARD_DELAY
- public const string GROUP_ADDRESS
- public const string GROUP_FORWARD_MASK
- public const string HELLO_TIME
- public const string MAC_ADDRESS
- public const string MAX_AGE
- public const string MULTICAST_HASH_MAX
- public const string MULTICAST_LAST_MEMBER_COUNT
- public const string MULTICAST_LAST_MEMBER_INTERVAL
- public const string MULTICAST_MEMBERSHIP_INTERVAL
- public const string MULTICAST_QUERIER
- public const string MULTICAST_QUERIER_INTERVAL
- public const string MULTICAST_QUERY_INTERVAL
- public const string MULTICAST_QUERY_RESPONSE_INTERVAL
- public const string MULTICAST_QUERY_USE_IFADDR
- public const string MULTICAST_ROUTER
- public const string MULTICAST_SNOOPING
- public const string MULTICAST_STARTUP_QUERY_COUNT
- public const string MULTICAST_STARTUP_QUERY_INTERVAL
- public const string PORT_HAIRPIN_MODE
- public const string PORT_PATH_COST
- public const string PORT_PRIORITY
- public const string PORT_SETTING_NAME
- public const string PORT_VLANS
- public const string PRIORITY
- public const string SETTING_NAME
- public const string STP
- public const string VLANS
- public const string VLAN_DEFAULT_PVID
- public const string VLAN_FILTERING
- public const string VLAN_PROTOCOL
- public const string VLAN_STATS_ENABLED
Properties:
- public uint ageing_time { get; set; }
The Ethernet MAC address aging time, in seconds.
- public uint forward_delay { get; set; }
The Spanning Tree Protocol (STP) forwarding delay, in seconds.
- public string group_address { owned get; set; }
If specified, The MAC address of the multicast group this bridge uses for STP.
- public uint group_forward_mask { get; set; }
A mask of group addresses to forward.
- public uint hello_time { get; set; }
The Spanning Tree Protocol (STP) hello time, in seconds.
- public string mac_address { owned get; set; }
If specified, the MAC address of bridge.
- public uint max_age { get; set; }
The Spanning Tree Protocol (STP) maximum message age, in seconds.
- public uint multicast_hash_max { get; set; }
Set maximum size of multicast hash table (value must be a power of 2).
- public uint multicast_last_member_count { get; set; }
Set the number of queries the bridge will send before stopping forwarding a multicast group after a "leave" message has been received.
- public uint64 multicast_last_member_interval { get; set; }
Set interval (in deciseconds) between queries to find remaining members of a group, after a "leave" message is received.
- public uint64 multicast_membership_interval { get; set; }
Set delay (in deciseconds) after which the bridge will leave a group, if no membership reports for this group are received.
- public bool multicast_querier { get; set; }
Enable or disable sending of multicast queries by the bridge.
- public uint64 multicast_querier_interval { get; set; }
If no queries are seen after this delay (in deciseconds) has passed, the bridge will start to send its own queries.
- public uint64 multicast_query_interval { get; set; }
Interval (in deciseconds) between queries sent by the bridge after the end of the startup phase.
- public uint64 multicast_query_response_interval { get; set; }
Set the Max Response Time/Max Response Delay (in deciseconds) for IGMP/MLD queries sent by the bridge.
- public bool multicast_query_use_ifaddr { get; set; }
If enabled the bridge's own IP address is used as the source address for IGMP queries otherwise the default of 0.0.0.0 is used.
- public string multicast_router { owned get; set; }
Sets bridge's multicast router.
- public bool multicast_snooping { get; set; }
Controls whether IGMP snooping is enabled for this bridge.
- public uint multicast_startup_query_count { get; set; }
Set the number of IGMP queries to send during startup phase.
- public uint64 multicast_startup_query_interval { get; set; }
Sets the time (in deciseconds) between queries sent out at startup to determine membership information.
- public uint priority { get; set; }
Sets the Spanning Tree Protocol (STP) priority for this bridge.
- public bool stp { get; set; }
Controls whether Spanning Tree Protocol (STP) is enabled for this bridge.
- public uint vlan_default_pvid { get; set; }
The default PVID for the ports of the bridge, that is the VLAN id assigned to incoming untagged frames.
- public bool vlan_filtering { get; set; }
Control whether VLAN filtering is enabled on the bridge.
- public string vlan_protocol { owned get; set; }
If specified, the protocol used for VLAN filtering.
- public bool vlan_stats_enabled { get; set; }
Controls whether per-VLAN stats accounting is enabled.
- public GenericArray<BridgeVlan> vlans { owned get; set; }
Array of bridge VLAN objects.
Creation methods:
- public SettingBridge ()
Creates a new SettingBridge object with default values.
Methods:
- public void add_vlan (BridgeVlan vlan)
Appends a new vlan and associated information to the setting.
- public void clear_vlans ()
Removes all configured VLANs.
- public uint32 get_ageing_time ()
- public uint16 get_forward_delay ()
- public unowned string get_group_address ()
- public uint16 get_group_forward_mask ()
- public uint16 get_hello_time ()
- public unowned string get_mac_address ()
- public uint16 get_max_age ()
- public uint32 get_multicast_hash_max ()
- public uint32 get_multicast_last_member_count ()
- public uint64 get_multicast_last_member_interval ()
- public uint64 get_multicast_membership_interval ()
- public bool get_multicast_querier ()
- public uint64 get_multicast_querier_interval ()
- public uint64 get_multicast_query_interval ()
- public uint64 get_multicast_query_response_interval ()
- public bool get_multicast_query_use_ifaddr ()
- public unowned string get_multicast_router ()
- public bool get_multicast_snooping ()
- public uint32 get_multicast_startup_query_count ()
- public uint64 get_multicast_startup_query_interval ()
- public uint get_num_vlans ()
- public uint16 get_priority ()
- public bool get_stp ()
- public unowned BridgeVlan get_vlan (uint idx)
- public uint16 get_vlan_default_pvid ()
- public bool get_vlan_filtering ()
- public unowned string get_vlan_protocol ()
- public bool get_vlan_stats_enabled ()
- public void remove_vlan (uint idx)
Removes the vlan at index
idx
. - public bool remove_vlan_by_vid (uint16 vid_start, uint16 vid_end)
Remove the VLAN with range
vid_start
tovid_end
.
Inherited Members:
All known members inherited from class NM.Setting
All known members inherited from class GLib.Object