Bigpipe Command to create pool with setting

I need to create a pool with the following result- Which Bigpipe command will accomplish this ?

pool YAYA_3105 {

lb method member ratio

monitor all gateway_icmp

members {

172.16.20.1:3501 {

ratio 10

}

172.116.20.2:3501 {

ratio 10

}

}

}

Why the following is not doing the job. What am I missing?

b pool YAYA_3105 { lb method member ratio monitor all gateway_icmp members { 172.16.20.1:3501 { ratio 10 } 172.16.20.2:3501 { ratio 10 } } }

nvm, thanks anyway

the correct config is :

b pool YAYA_3501 { lb method member ratio monitor all gateway_icmp members { 172.16.10.1:3501 { ratio 10 } } add }

b pool YAYA_3501 { lb method member ratio monitor all gateway_icmp members { 172.16.10.2:3501 { ratio 10 } } add }