Skip to content

Commit

Permalink
insert new session status comparison for f5 bigip plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcus Vinicius G. Cesario committed May 17, 2018
1 parent 9442ada commit 2fd2b31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions networkapi/plugins/F5/poolmember.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit 2fd2b31

Please sign in to comment.