Skip to content

SNMP sent locally despite proxy_required #1838

@AiyionPrime

Description

@AiyionPrime

Following my attempts in #1413, I'd like to showcase the same problem in code I have not touched before :)

A network_power_port like this:

Acquired resource 'NetworkPowerPort' (ma-firmware-integrationtest-01/example-group/NetworkPowerPort/NetworkPowerPort):

{'acquired': 'example-place',
 'avail': True,
 'cls': 'NetworkPowerPort',
 'params': {'extra': {'proxy': 'ma-firmware-integrationtest-01',
                      'proxy_required': True},
            'host': '192.168.0.2',
            'index': 0,
            'model': 'poe_mib'}}

Sends the SNMP requests from my local machine, instead of the exporter host, despite proxy_required.

LG_PROXY=ma-firmware-integrationtest labgrid-client --coordinator 10.120.4.251:22408 -p example-place power off

I can see the SNMP packet being sent from my local host via wireshark.

I'd expect the client to pick up on 'proxy_required': True.
Am I missing something?

If not, I'd start debugging this tomorrow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions