def _set_instance_networking(self):
instance_data = self._compute.instances().get(<EOL>project=self.project, zone=self.zone,<EOL>instance=self.state.instance_name<EOL>).execute()<EOL>ip_address = (<EOL>instance_data['<STR_LIT>'][<NUM_LIT:0>]['<STR_LIT>'][<NUM_LIT:0>]['<STR_LIT>']<EOL>)<EOL>self.state = self.state.transform(['<STR_LIT>'], ip_address)<EOL>wait_for_ssh(self.state.ip_address)<EOL>log_green('<STR_LIT>'.format(<EOL>ip_address))<EOL>
Pulls out the IP address for the instance and double checks that
we can connect to it's ssh port.