From 2fd2b31378330757213c86ec1b5bb2a7695d1b41 Mon Sep 17 00:00:00 2001 From: "Marcus Vinicius G. Cesario" Date: Thu, 17 May 2018 17:02:29 -0300 Subject: [PATCH] insert new session status comparison for f5 bigip plugin --- networkapi/plugins/F5/poolmember.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/networkapi/plugins/F5/poolmember.py b/networkapi/plugins/F5/poolmember.py index 6f916d64e..368d310f7 100644 --- a/networkapi/plugins/F5/poolmember.py +++ b/networkapi/plugins/F5/poolmember.py @@ -70,6 +70,8 @@ def get_states(self, **kwargs): session = '1' elif sessions[p][s] == 'SESSION_STATUS_DISABLED': session = '0' + elif sessions[p][s] == 'SESSION_STATUS_FORCED_DISABLED': + session = '0' else: session = '1'