fix velocloud edgeqoe
This commit is contained in:
parent
dc6b442454
commit
b842ec970e
|
@ -274,6 +274,8 @@ sub list_links {
|
||||||
$self->get_entreprise_id();
|
$self->get_entreprise_id();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
my $start_time = DateTime->now->subtract(seconds => $options{timeframe})->iso8601.'Z';
|
||||||
|
|
||||||
my $results = $self->request_api(
|
my $results = $self->request_api(
|
||||||
method => 'POST',
|
method => 'POST',
|
||||||
path => '/metrics/getEdgeLinkMetrics',
|
path => '/metrics/getEdgeLinkMetrics',
|
||||||
|
@ -281,6 +283,9 @@ sub list_links {
|
||||||
enterpriseId => $self->{entreprise_id},
|
enterpriseId => $self->{entreprise_id},
|
||||||
edgeId => $options{edge_id},
|
edgeId => $options{edge_id},
|
||||||
metrics => [ 'bytesRx' ],
|
metrics => [ 'bytesRx' ],
|
||||||
|
interval => {
|
||||||
|
start => $start_time
|
||||||
|
},
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -157,7 +157,8 @@ sub manage_selection {
|
||||||
$self->{edges}->{$edge->{name}}->{display} = $edge->{name};
|
$self->{edges}->{$edge->{name}}->{display} = $edge->{name};
|
||||||
|
|
||||||
my $links = $options{custom}->list_links(
|
my $links = $options{custom}->list_links(
|
||||||
edge_id => $edge->{id}
|
edge_id => $edge->{id},
|
||||||
|
timeframe => $self->{timeframe}
|
||||||
);
|
);
|
||||||
|
|
||||||
my $qoes = $options{custom}->get_links_qoe(
|
my $qoes = $options{custom}->get_links_qoe(
|
||||||
|
|
Loading…
Reference in New Issue