summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow (lxpbuetow.webde.local) <paul.buetow@1und1.de>2014-06-24 16:44:01 +0200
committerPaul Buetow (lxpbuetow.webde.local) <paul.buetow@1und1.de>2014-06-24 16:44:01 +0200
commitc53d174e504775380754e86b8990a86aa8225e77 (patch)
tree60e247e624528e053a1c6c55790ec1b5f6247c4b
parent52623fe3259688b6c29a67397b6e465e2de37b49 (diff)
-rw-r--r--.version2
-rw-r--r--debian/changelog6
-rw-r--r--debian/files2
-rw-r--r--docs/fapi.12
-rw-r--r--docs/synopsis.txt2
-rwxr-xr-xsrc/fapi1
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 <paul.buetow@1und1.de> 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]])