@extensions.expected_errors(501)
    @common.check_cells_enabled
    def info(self, req):
        context = req.environ['nova.context']
        authorize(context)
        cell_capabs = {}
        my_caps = CONF.cells.capabilities
        for cap in my_caps:
            key, value = cap.split('=')
            cell_capabs[key] = value
        cell = {'name': CONF.cells.name,
                'type': 'self',
                'rpc_host': None,
                'rpc_port': 0,
                'username': None,
                'capabilities': cell_capabs}
        return dict(cell=cell)
Get the MenuItem used as the collapse menu item.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/api/openstack/compute/cells.py/CellsController.info--crossover with--dataset/ETHPy150Open rwl/muntjac/muntjac/ui/menu_bar.py/MenuBar.getMoreMenuItem