Skip to content

node balancer filter on label #186

@muradm

Description

@muradm

Please, add filtering of NodeBalancers based on label. All objects are findable using label:

client = ...
instance = client.linode.instances(Instance.label = 'some-label')

However, NodeBalancer does not, it has only filterable property region. For them, either its id should be known in advance or this should be done:

client = ...
for balancer in client.nodebalancers():
    if balancer.label == label:
        return balancer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions