GSTPy.NetworkInterface.list_children — GSTPy documentation

# GSTPy.NetworkInterface.list_children

`NetworkInterface.``list_children`((NetworkInterface)self[, (LinkAdjacency)link=None]) → list :

  Get a list of all direct child links of a link.

  Parameters

    link (LinkAdjacency) –

    The link.

    Defaults to None. This returns a list of all links on the first level.

  Returns

    The child links of the link.

  Return type

    list[LinkAdjacency]