Skip to content

Instantly share code, notes, and snippets.

@michaelrice
Created May 9, 2014 05:52
Show Gist options
  • Save michaelrice/632f92a43828f77514d2 to your computer and use it in GitHub Desktop.
Save michaelrice/632f92a43828f77514d2 to your computer and use it in GitHub Desktop.
fabric success on esxi
errr@ubuntu-12-04-python$ /usr/bin/fab -H 10.12.254.10 hello
[10.12.254.10] Executing task 'hello'
[10.12.254.10] run: vmkping -c 1 -X 10.12.254.1
[10.12.254.10] out: <?xml version="1.0"?><esxcli:output xmlns:esxcli="http://www.vmware.com/Products/ESX/5.0/esxcli/">
[10.12.254.10] out: <esxcli:list type="struct">
[10.12.254.10] out: <esxcli:struct type="VMKPing">
[10.12.254.10] out: <esxcli:field name="Trace">
[10.12.254.10] out: <esxcli:list type="struct">
[10.12.254.10] out: <esxcli:struct type="VMKPingTrace">
[10.12.254.10] out: <esxcli:field name="Recieved Bytes"><esxcli:int>64</esxcli:int></esxcli:field>
[10.12.254.10] out: <esxcli:field name="Host"><esxcli:string>10.12.254.1</esxcli:string></esxcli:field>
[10.12.254.10] out: <esxcli:field name="ICMP Seq"><esxcli:int>0</esxcli:int></esxcli:field>
[10.12.254.10] out: <esxcli:field name="TTL"><esxcli:int>64</esxcli:int></esxcli:field>
[10.12.254.10] out: <esxcli:field name="Round-trip Time"><esxcli:int>2879</esxcli:int></esxcli:field>
[10.12.254.10] out: <esxcli:field name="Dup"><esxcli:bool>false</esxcli:bool></esxcli:field>
[10.12.254.10] out: </esxcli:struct>
[10.12.254.10] out: </esxcli:list>
[10.12.254.10] out: </esxcli:field>
[10.12.254.10] out: <esxcli:field name="Summary">
[10.12.254.10] out: <esxcli:struct type="VMKPingSummary">
[10.12.254.10] out: <esxcli:field name="Host Addr"><esxcli:string>10.12.254.1</esxcli:string></esxcli:field>
[10.12.254.10] out: <esxcli:field name="Transmitted"><esxcli:int>1</esxcli:int></esxcli:field>
[10.12.254.10] out: <esxcli:field name="Recieved"><esxcli:int>1</esxcli:int></esxcli:field>
[10.12.254.10] out: <esxcli:field name="Duplicated"><esxcli:int>0</esxcli:int></esxcli:field>
[10.12.254.10] out: <esxcli:field name="Packet Lost"><esxcli:int>0</esxcli:int></esxcli:field>
[10.12.254.10] out: <esxcli:field name="Round-trip Min"><esxcli:int>2879</esxcli:int></esxcli:field>
[10.12.254.10] out: <esxcli:field name="Round-trip Avg"><esxcli:int>2879</esxcli:int></esxcli:field>
[10.12.254.10] out: <esxcli:field name="Round-trip Max"><esxcli:int>2879</esxcli:int></esxcli:field>
[10.12.254.10] out: </esxcli:struct>
[10.12.254.10] out: </esxcli:field>
[10.12.254.10] out: </esxcli:struct>
[10.12.254.10] out: </esxcli:list>
[10.12.254.10] out: </esxcli:output>
Done.
Disconnecting from [email protected]... done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment