Created
March 11, 2014 07:03
-
-
Save justlooks/9480880 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@CH124 ~]# curl -i http://192.168.10.231:8888/minions/ -H "X-Auth-Token:92b0d6af53b8ed197302a42904e3321c726ba928" | |
HTTP/1.1 200 OK | |
Content-Length: 3894 | |
Vary: Accept-Encoding | |
Server: CherryPy/3.2.2 | |
Allow: GET, HEAD, POST | |
Cache-Control: private | |
Date: Tue, 11 Mar 2014 07:00:52 GMT | |
Access-Control-Allow-Origin: * | |
Content-Type: application/json | |
Set-Cookie: session_id=92b0d6af53b8ed197302a42904e3321c726ba928; expires=Tue, 11 Mar 2014 17:00:52 GMT; Path=/ | |
{"return": [{"saltslave": {"biosversion": "0.5.1", "kernel": "Linux", "domain": "", "kernelrelease": "2.6.32-220.el6.x86_64", "pythonpath": ["/usr/bin", "/usr/lib64/python26.zip | |
", "/usr/lib64/python2.6", "/usr/lib64/python2.6/plat-linux2", "/usr/lib64/python2.6/lib-tk", "/usr/lib64/python2.6/lib-old", "/usr/lib64/python2.6/lib-dynload", "/usr/lib64/pyt | |
hon2.6/site-packages", "/usr/lib64/python2.6/site-packages/gtk-2.0", "/usr/lib/python2.6/site-packages"], "serialnumber": "Not Specified", "ip_interfaces": {"lo": ["127.0.0.1"], | |
"eth0": ["192.168.10.232"]}, "shell": "/bin/sh", "mem_total": 490, "saltversioninfo": [2014, 1, 0], "host": "saltslave", "id": "saltslave", "osrelease": "6.2", "ps": "ps -efH", | |
"server_id": 1709790384, "num_cpus": 1, "hwaddr_interfaces": {"lo": "00:00:00:00:00:00", "eth0": "52:54:00:30:01:e8"}, "virtual": "kvm", "osfullname": "Red Hat Enterprise Linux | |
Server", "master": "192.168.10.231", "ipv4": ["127.0.0.1", "192.168.10.232"], "ipv6": ["::1", "fe80::5054:ff:fe30:1e8"], "cpu_flags": ["fpu", "de", "pse", "tsc", "msr", "pae", | |
"mce", "cx8", "apic", "mtrr", "pge", "mca", "cmov", "pse36", "clflush", "mmx", "fxsr", "sse", "sse2", "syscall", "nx", "lm", "up", "unfair_spinlock", "pni", "cx16", "hypervisor" | |
, "lahf_lm"], "localhost": "saltslave", "fqdn_ip4": ["192.168.10.232"], "fqdn_ip6": [], "nodename": "saltslave", "saltversion": "2014.1.0", "saltpath": "/usr/lib/python2.6/site- | |
packages/salt", "pythonversion": [2, 6, 6, "final", 0], "osmajorrelease": ["6", "2"], "os_family": "RedHat", "oscodename": "Santiago", "defaultencoding": "UTF8", "osfinger": "Re | |
d Hat Enterprise Linux Server-6", "biosreleasedate": "01/01/2007", "manufacturer": "Red Hat", "num_gpus": 0, "external_ip": [], "cpu_model": "QEMU Virtual CPU version (cpu64-rhe | |
l6)", "fqdn": "saltslave", "productname": "KVM", "osarch": "x86_64", "cpuarch": "x86_64", "gpus": [], "path": "/sbin:/usr/sbin:/bin:/usr/bin", "os": "RedHat", "defaultlanguage": | |
"en_US"}, "saltslave2": {"biosversion": "0.5.1", "kernel": "Linux", "domain": "", "kernelrelease": "2.6.32-220.el6.x86_64", "pythonpath": ["/usr/bin", "/usr/lib64/python26.zip" | |
, "/usr/lib64/python2.6", "/usr/lib64/python2.6/plat-linux2", "/usr/lib64/python2.6/lib-tk", "/usr/lib64/python2.6/lib-old", "/usr/lib64/python2.6/lib-dynload", "/usr/lib64/pyth | |
on2.6/site-packages", "/usr/lib64/python2.6/site-packages/gtk-2.0", "/usr/lib/python2.6/site-packages"], "serialnumber": "Not Specified", "ip_interfaces": {"lo": ["127.0.0.1"], | |
"eth0": ["192.168.10.233"]}, "shell": "/bin/sh", "mem_total": 490, "saltversioninfo": [2014, 1, 0], "host": "saltslave2", "id": "saltslave2", "osrelease": "6.2", "ps": "ps -efH" | |
, "server_id": 1254088275, "num_cpus": 1, "hwaddr_interfaces": {"lo": "00:00:00:00:00:00", "eth0": "52:54:00:30:01:b8"}, "virtual": "kvm", "osfullname": "Red Hat Enterprise Linu | |
x Server", "master": "192.168.10.231", "ipv4": ["127.0.0.1", "192.168.10.233"], "ipv6": ["::1", "fe80::5054:ff:fe30:1b8"], "cpu_flags": ["fpu", "de", "pse", "tsc", "msr", "pae", | |
"mce", "cx8", "apic", "mtrr", "pge", "mca", "cmov", "pse36", "clflush", "mmx", "fxsr", "sse", "sse2", "syscall", "nx", "lm", "up", "unfair_spinlock", "pni", "cx16", "hypervisor | |
", "lahf_lm"], "localhost": "saltslave2", "fqdn_ip4": [], "fqdn_ip6": [], "nodename": "saltslave2", "saltversion": "2014.1.0", "saltpath": "/usr/lib/python2.6/site-packages/salt | |
", "pythonversion": [2, 6, 6, "final", 0], "osmajorrelease": ["6", "2"], "os_family": "RedHat", "oscodename": "Santiago", "defaultencoding": "UTF8", "osfinger": "Red Hat Enterprise Linux Server-6", "biosreleasedate": "01/01/2007", "manufacturer": "Red Hat", "num_gpus": 0, "external_ip": [], "cpu_model": "QEMU Virtual CPU version (cpu64-rhel6)", "fqdn": "saltslave2", "productname": "KVM", "osarch": "x86_64", "cpuarch": "x86_64", "gpus": [], "path": "/sbin:/usr/sbin:/bin:/usr/bin", "os": "RedHat", "defaultlanguage": "en_US"}}]} | |
[root@CH124 ~]# curl -i http://192.168.10.231:8888/logout -H "X-Auth-Token:92b0d6af53b8ed197302a42904e3321c726ba928" | |
HTTP/1.1 200 OK | |
Content-Length: 222 | |
Vary: Accept-Encoding | |
Server: CherryPy/3.2.2 | |
Allow: GET, HEAD, POST | |
Date: Tue, 11 Mar 2014 07:01:27 GMT | |
Access-Control-Allow-Origin: * | |
Content-Type: application/json | |
Set-Cookie: session_id=c3d66ad9213018217c21c34d530d641ffbad6f12; expires=Tue, 11 Mar 2014 17:01:27 GMT; Path=/ | |
{"output": ["application/json", "application/x-yaml"], "clients": ["async", "local", "local_async", "local_sync", "runner", "runner_async", "runner_sync", "sync", "wheel", "wheel_async", "wheel_sync"], "return": "Welcome"}[root@CH124 ~]# | |
[root@CH124 ~]# curl -i http://192.168.10.231:8888/minions/ -H "X-Auth-Token:92b0d6af53b8ed197302a42904e3321c726ba928" | |
HTTP/1.1 200 OK | |
Content-Length: 3894 | |
Vary: Accept-Encoding | |
Server: CherryPy/3.2.2 | |
Allow: GET, HEAD, POST | |
Cache-Control: private | |
Date: Tue, 11 Mar 2014 07:01:36 GMT | |
Access-Control-Allow-Origin: * | |
Content-Type: application/json | |
Set-Cookie: session_id=92b0d6af53b8ed197302a42904e3321c726ba928; expires=Tue, 11 Mar 2014 17:01:36 GMT; Path=/ | |
{"return": [{"saltslave": {"biosversion": "0.5.1", "kernel": "Linux", "domain": "", "kernelrelease": "2.6.32-220.el6.x86_64", "pythonpath": ["/usr/bin", "/usr/lib64/python26.zip", "/usr/lib64/python2.6", "/usr/lib64/python2.6/plat-linux2", "/usr/lib64/python2.6/lib-tk", "/usr/lib64/python2.6/lib-old", "/usr/lib64/python2.6/lib-dynload", "/usr/lib64/python2.6/site-packages", "/usr/lib64/python2.6/site-packages/gtk-2.0", "/usr/lib/python2.6/site-packages"], "serialnumber": "Not Specified", "ip_interfaces": {"lo": ["127.0.0.1"], "eth0": ["192.168.10.232"]}, "shell": "/bin/sh", "mem_total": 490, "saltversioninfo": [2014, 1, 0], "host": "saltslave", "id": "saltslave", "osrelease": "6.2", "ps": "ps -efH", "server_id": 1709790384, "num_cpus": 1, "hwaddr_interfaces": {"lo": "00:00:00:00:00:00", "eth0": "52:54:00:30:01:e8"}, "virtual": "kvm", "osfullname": "Red Hat Enterprise Linux Server", "master": "192.168.10.231", "ipv4": ["127.0.0.1", "192.168.10.232"], "ipv6": ["::1", "fe80::5054:ff:fe30:1e8"], "cpu_flags": ["fpu", "de", "pse", "tsc", "msr", "pae", "mce", "cx8", "apic", "mtrr", "pge", "mca", "cmov", "pse36", "clflush", "mmx", "fxsr", "sse", "sse2", "syscall", "nx", "lm", "up", "unfair_spinlock", "pni", "cx16", "hypervisor", "lahf_lm"], "localhost": "saltslave", "fqdn_ip4": ["192.168.10.232"], "fqdn_ip6": [], "nodename": "saltslave", "saltversion": "2014.1.0", "saltpath": "/usr/lib/python2.6/site-packages/salt", "pythonversion": [2, 6, 6, "final", 0], "osmajorrelease": ["6", "2"], "os_family": "RedHat", "oscodename": "Santiago", "defaultencoding": "UTF8", "osfinger": "Red Hat Enterprise Linux Server-6", "biosreleasedate": "01/01/2007", "manufacturer": "Red Hat", "num_gpus": 0, "external_ip": [], "cpu_model": "QEMU Virtual CPU version (cpu64-rhel6)", "fqdn": "saltslave", "productname": "KVM", "osarch": "x86_64", "cpuarch": "x86_64", "gpus": [], "path": "/sbin:/usr/sbin:/bin:/usr/bin", "os": "RedHat", "defaultlanguage": "en_US"}, "saltslave2": {"biosversion": "0.5.1", "kernel": "Linux", "domain": "", "kernelrelease": "2.6.32-220.el6.x86_64", "pythonpath": ["/usr/bin", "/usr/lib64/python26.zip", "/usr/lib64/python2.6", "/usr/lib64/python2.6/plat-linux2", "/usr/lib64/python2.6/lib-tk", "/usr/lib64/python2.6/lib-old", "/usr/lib64/python2.6/lib-dynload", "/usr/lib64/python2.6/site-packages", "/usr/lib64/python2.6/site-packages/gtk-2.0", "/usr/lib/python2.6/site-packages"], "serialnumber": "Not Specified", "ip_interfaces": {"lo": ["127.0.0.1"], "eth0": ["192.168.10.233"]}, "shell": "/bin/sh", "mem_total": 490, "saltversioninfo": [2014, 1, 0], "host": "saltslave2", "id": "saltslave2", "osrelease": "6.2", "ps": "ps -efH", "server_id": 1254088275, "num_cpus": 1, "hwaddr_interfaces": {"lo": "00:00:00:00:00:00", "eth0": "52:54:00:30:01:b8"}, "virtual": "kvm", "osfullname": "Red Hat Enterprise Linux Server", "master": "192.168.10.231", "ipv4": ["127.0.0.1", "192.168.10.233"], "ipv6": ["::1", "fe80::5054:ff:fe30:1b8"], "cpu_flags": ["fpu", "de", "pse", "tsc", "msr", "pae", "mce", "cx8", "apic", "mtrr", "pge", "mca", "cmov", "pse36", "clflush", "mmx", "fxsr", "sse", "sse2", "syscall", "nx", "lm", "up", "unfair_spinlock", "pni", "cx16", "hypervisor", "lahf_lm"], "localhost": "saltslave2", "fqdn_ip4": [], "fqdn_ip6": [], "nodename": "saltslave2", "saltversion": "2014.1.0", "saltpath": "/usr/lib/python2.6/site-packages/salt", "pythonversion": [2, 6, 6, "final", 0], "osmajorrelease": ["6", "2"], "os_family": "RedHat", "oscodename": "Santiago", "defaultencoding": "UTF8", "osfinger": "Red Hat Enterprise Linux Server-6", "biosreleasedate": "01/01/2007", "manufacturer": "Red Hat", "num_gpus": 0, "external_ip": [], "cpu_model": "QEMU Virtual CPU version (cpu64-rhel6)", "fqdn": "saltslave2", "productname": "KVM", "osarch": "x86_64", "cpuarch": "x86_64", "gpus": [], "path": "/sbin:/usr/sbin:/bin:/usr/bin", "os": "RedHat", "defaultlanguage": "en_US"}}]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment