def connect_kms(aws_access_key_id=None,
                aws_secret_access_key=None,
                **kwargs):
    from boto.kms.layer1 import KMSConnection
    return KMSConnection(
        aws_access_key_id=aws_access_key_id,
        aws_secret_access_key=aws_secret_access_key,
        **kwargs
    )
Template method, so a subclass can implement for neutron/network.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/boto-2.38.0/boto/__init__.py/connect_kms--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/network/base_api.py/NetworkAPI._get_instance_nw_info