def get_all_switch_ips(self):
switch_connections = []<EOL>try:<EOL><INDENT>bindings = nxos_db.get_reserved_switch_binding()<EOL><DEDENT>except excep.NexusPortBindingNotFound:<EOL><INDENT>LOG.error("<STR_LIT>")<EOL>bindings = []<EOL><DEDENT>for switch in bindings:<EOL><INDENT>switch_connections.append(switch.switch_ip)<EOL><DEDENT>return switch_connections<EOL>
Using reserved switch binding get all switch ips.