This repo was created from filter branching the openstack-infra/ config repo. This process brought a lot of cruft with it in the form of directories that we no longer need. This patch removes that cruft so we begin with a tidier repo. Change-Id: Ibffad1b11c0c5f84eedfb0365369f60c4961a0f3
		
			
				
	
	
		
			12 lines
		
	
	
		
			238 B
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			238 B
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env python
 | 
						|
 | 
						|
import sys
 | 
						|
from subprocess import Popen, PIPE
 | 
						|
 | 
						|
p = Popen(["ping", sys.argv[1]], stdout=PIPE)
 | 
						|
while True:
 | 
						|
    line = p.stdout.readline().strip()
 | 
						|
    if 'bytes from' in line:
 | 
						|
        p.terminate()
 | 
						|
        sys.exit(0)
 |