

def get_resources(self):
    resources = [extensions.ResourceExtension(ALIAS, HostController(), member_actions={
        'startup': 'GET',
        'shutdown': 'GET',
        'reboot': 'GET',
    })]
    return resources

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/api/openstack/compute/hosts.py Hosts.get_resources/original