beautypg.com

Adlink_trunk_monitor_add (), Adlink_trunk_monitor_del (), Adlink_trunk_monitor_get () – ADLINK aTCA-N700 User Manual

Page 30

background image

Switch Manager API Programming Guide

30

This function is used to get trunk group information.

PARAMETERS

tid

[IN] Trunk group id; Start from ‘1’;

info

[OUT]

Trunk

group

information;

RETURN

See the description of status_t in Section 1.

adlink_trunk_monitor_add ()

adlink_trunk_monitor_del ()

adlink_trunk_monitor_get ()

PROTOTYPE

status_t adlink_trunk_monitor_add (int group_index);

status_t adlink_trunk_monitor_del (int group_index);

status_t adlink_trunk_monitor_get (adlink_trunk_monitor_t *tm);

DESCRIPTION

These functions are used to control trunk groups to be monitored or not. For groups in monitor,

member ports with a link failure will be removed from group.

PARAMETERS

group_index

[IN] Trunk group id; Start from ‘1’;

tm

[OUT] Trunk group status in monitor;

RETURN

See the description of status_t in Section 1.