def index(self, req, server_id):
        authorize(req.environ['nova.context'])
        return self._items(req, server_id,
                           entity_maker=_translate_vif_summary_view)
Add a new submodule to the given repository. This will alter the index
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/api/openstack/compute/legacy_v2/contrib/virtual_interfaces.py/ServerVirtualInterfaceController.index--crossover with--dataset/ETHPy150Open gitpython-developers/GitPython/git/objects/submodule/base.py/Submodule.add