Skip to content

Commit cd5f369

Browse files
committed
Clarified Pool example for Issue #1303
1 parent 6e9c1a8 commit cd5f369

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/userguide/ltm_pools_members_code_example.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ Coding Example
6464
members = pool_1.members_s
6565
member = pool_1.members_s.members
6666
67-
m1 = pool_1.members_s.members.create(partition='Common', name='m1:80')
68-
m2 = pool_1.members_s.members.create(partition='Common', name='m2:80')
67+
m1 = pool_1.members_s.members.create(partition='Common', name='192.168.101.50:80')
68+
m2 = pool_1.members_s.members.create(partition='Common', name='192.168.101.51:80')
6969
7070
# load the pool members
71-
m1 = pool_1.members_s.members.load(partition='Common', name='m1:80')
72-
m2 = pool_1.members_s.members.load(partition='Common', name='m2:80')
71+
m1 = pool_1.members_s.members.load(partition='Common', name='192.168.101.50:80')
72+
m2 = pool_1.members_s.members.load(partition='Common', name='192.168.101.50:80')
7373
7474
# Get all of the pool members for pool_1 and print their names
7575
@@ -80,7 +80,7 @@ Coding Example
8080
m1.delete()
8181
8282
# Make sure it is gone
83-
if pool_1.members_s.members.exists(partition='Common', name='m1:80'):
83+
if pool_1.members_s.members.exists(partition='Common', name='192.168.101.50:80'):
8484
raise Exception("Object should have been deleted")
8585
8686
# We are done with this pool so remove it from BIG-IP®

0 commit comments

Comments
 (0)