This file contains hidden or 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
| # We are in client mode | |
| client | |
| ## We are creating a tunnel | |
| dev tun | |
| ## We use TCP | |
| proto tcp | |
| remote vpn.everest-dev.aws.mintel.com 443 |
This file contains hidden or 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
| def update_nested(d, keys, val): | |
| """Updates a nested dictionary value. | |
| Args: | |
| dictionary (dict): The dict we'll be updating | |
| keys (list): A set of keys pointing to a subvalue of a dict e.g. ['a', 'b'] -> dict['a']['b'] | |
| val: A new value to set at dictionary[key1][key2][..] | |
| Returns: | |
| dict: Updated dictionary |
OlderNewer