#Talk
- The A of CIA aka playing with CAP theorem
- CRDT
- How and why computer fail
- Failures in distributed systems
- Consistency in distributed systems
- Reliability techniques
- ...
timing on | |
when RULE_INIT { | |
set static::field_sanatize_list [list \ | |
"\"" "\\\"" | |
] | |
} | |
when CLIENT_ACCEPTED { | |
set hsl [HSL::open -proto UDP -pool p_log_collector] |
#Talk
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
Transorme user password to cryp(3) compliant line. | |
Could be usefull to use with useradd -p 'crypt(3) line' | |
""" |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
# Copyright (C) 2015-: | |
# Pasche Sebastien, sebastien.pasche@leshop.ch | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a | |
# copy of this software and associated documentation files (the "Software"), |
(io-deploy-prod)[sebastien@localhost io-deploy-prod]$ python sample_vmware.py | |
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): mtxvcef01 | |
/home/sebastien/Documents/dev/io-deploy-prod/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:734: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html | |
InsecureRequestWarning) | |
DEBUG:requests.packages.urllib3.connectionpool:"GET //sdk/vimServiceVersions.xml HTTP/1.1" 200 552 | |
INFO:test_pyvmomi:preparing virtual host creation config... | |
test_pyvmomi:'vim.HostSystem:host-36' | |
DEBUG:test_pyvmomi:creation specs generated | |
DEBUG:test_pyvmomi:pushing creation specs to vcenter | |
Traceback (most recent call last): |
(io-deploy-prod)[sebastien@localhost io-deploy-prod]$ python sample_vmware.py | |
DEBUG:vcr.cassette:Entered context for cassette at hello_world_vcenter.yaml. | |
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): mtxvcef01 | |
DEBUG:vcr.stubs:Got <Request (GET) https://mtxvcef01//sdk/vimServiceVersions.xml> | |
INFO:vcr.stubs:<Request (GET) https://mtxvcef01//sdk/vimServiceVersions.xml> not in cassette, sending to real server | |
DEBUG:requests.packages.urllib3.connectionpool:"GET //sdk/vimServiceVersions.xml HTTP/1.1" 200 552 | |
DEBUG:vcr.stubs:Got <Request (POST) https://mtxvcef01/sdk> | |
DEBUG:vcr.matchers:Requests <Request (POST) https://mtxvcef01/sdk> and <Request (GET) https://mtxvcef01//sdk/vimServiceVersions.xml> differ according to the following matchers: [(False, <function method at 0x7f6fcd806c80>), (False, <function path at 0x7f6fcd806ed8>)] | |
INFO:vcr.stubs:<Request (POST) https://mtxvcef01/sdk> not in cassette, sending to real server | |
DEBUG:vcr.stubs:Got <Request (POST) https://mtxvcef01/sdk> |
interactions: | |
- request: | |
body: null | |
headers: | |
Accept: ['*/*'] | |
Accept-Encoding: ['gzip, deflate'] | |
Connection: [keep-alive] | |
User-Agent: [python-requests/2.5.1 CPython/2.7.8 Linux/3.19.5-200.fc21.x86_64] | |
method: GET | |
uri: https://mtxvcef01//sdk/vimServiceVersions.xml |
interactions: | |
- request: | |
body: null | |
headers: | |
Accept: ['*/*'] | |
Accept-Encoding: ['gzip, deflate'] | |
Connection: [keep-alive] | |
User-Agent: [python-requests/2.5.1 CPython/2.7.8 Linux/3.19.5-200.fc21.x86_64] | |
method: GET | |
uri: https://mtxvcef01//sdk/vimServiceVersions.xml |
#!/usr/bin/env python | |
# -*- coding: ascii -*- | |
""" | |
package.module | |
~~~~~~~~~~~~ | |
A description which can be long and explain the complete | |
functionality of this module even with indented code examples. | |
Class/Function however should not be documented here. |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Copyright (C) 2013: | |
# Sébastien Pasche, sebastien.pasche@leshop.ch | |
# Mikael Bugnon, mikael.bugnon@leshop.ch | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a | |
# copy of this software and associated documentation files (the "Software"), | |
# to deal in the Software without restriction, including without limitation |