From c53d174e504775380754e86b8990a86aa8225e77 Mon Sep 17 00:00:00 2001 From: "Paul Buetow (lxpbuetow.webde.local)" Date: Tue, 24 Jun 2014 16:44:01 +0200 Subject: fix --- .version | 2 +- debian/changelog | 6 ++++++ debian/files | 2 +- docs/fapi.1 | 2 +- docs/synopsis.txt | 2 ++ src/fapi | 1 - 6 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.version b/.version index ee94dd8..f168a44 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.8.3 +0.8.3+nmu1 diff --git a/debian/changelog b/debian/changelog index ad852ee..fde0567 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +fapi (0.8.3+nmu1) stable; urgency=low + + * Can get and set poolmember ratios + + -- Paul Buetow Tue, 24 Jun 2014 16:41:06 +0200 + fapi (0.8.3) stable; urgency=low * fix in docu diff --git a/debian/files b/debian/files index 3de09cb..8a1af5a 100644 --- a/debian/files +++ b/debian/files @@ -1 +1 @@ -fapi_0.8.3_all.deb utils optional +fapi_0.8.3+nmu1_all.deb utils optional diff --git a/docs/fapi.1 b/docs/fapi.1 index 74ebe5a..b14fb2d 100644 --- a/docs/fapi.1 +++ b/docs/fapi.1 @@ -124,7 +124,7 @@ .\" ======================================================================== .\" .IX Title "FAPI 1" -.TH FAPI 1 "2014-06-18" "fapi 0.8.3" "User Commands" +.TH FAPI 1 "2014-06-18" "fapi 0.8.3+nmu1" "User Commands" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l diff --git a/docs/synopsis.txt b/docs/synopsis.txt index 593f214..cc0d434 100644 --- a/docs/synopsis.txt +++ b/docs/synopsis.txt @@ -42,6 +42,8 @@ Synopsis: pool NAME del monitors pool NAME get detail|lbmethod|members|monitor|status pool NAME set lbmethod LBMETHOD + poolmember NAME MEMBER:PORT get ratio + poolmember NAME MEMBER:PORT set ratio RATIO vip vip NAME create NETMASK vip NAME get arp|detail|status|tgroup diff --git a/src/fapi b/src/fapi index 78e652e..6a8826d 100755 --- a/src/fapi +++ b/src/fapi @@ -403,7 +403,6 @@ class Fapi(FapiBase): _, ip, port = self.lookup(member) ipport = { "address": ip, "port": port } memberratio = { "member": ipport, "ratio": ratio } - return lambda: memberratio return lambda: f5().set_ratio([a.name], [[memberratio]]) -- cgit v1.2.3