${peer_check_url}= BuiltIn.Set_Variable ${REST_API}/bgp-rib:bgp-rib/rib=example-bgp-rib/peer=bgp:%2F%2F
${exp_status_code}= BuiltIn.Set_Variable_If ${connected} ${200} ${404}
${rsp}= RequestsLibrary.GET On Session
${peer_check_url}= BuiltIn.Set_Variable ${REST_API}/bgp-rib:bgp-rib/rib=example-bgp-rib/peer=bgp:%2F%2F
${exp_status_code}= BuiltIn.Set_Variable_If ${connected} ${200} ${404}
${rsp}= RequestsLibrary.GET On Session