##### SUMMARY
As detected by https://github.com/ansible/ansible/pull/66920, this module has options marked with `removed_in_version='2.10'`. These options should better be removed before Ansible 2.10 is released.

```
lib/ansible/modules/network/nxos/nxos_igmp_interface.py:0:0: ansible-deprecated-version: Argument 'oif_prefix' in argument_spec has a deprecated removed_in_version '2.10', i.e. the version is less than or equal to the current version of Ansible (2.10.0.dev0)
lib/ansible/modules/network/nxos/nxos_igmp_interface.py:0:0: ansible-deprecated-version: Argument 'oif_source' in argument_spec has a deprecated removed_in_version '2.10', i.e. the version is less than or equal to the current version of Ansible (2.10.0.dev0)
```

##### ISSUE TYPE
- Bug Report

##### COMPONENT NAME
lib/ansible/modules/network/nxos/nxos_igmp_interface.py
lib/ansible/modules/network/nxos/nxos_igmp_interface.py

##### ANSIBLE VERSION
```paste below
2.10
```

command = 'show interface {0}'.format(interface)
    interface = {}
    mode = 'unknown'
    if intf_type in ['ethernet', 'portchannel']:
        body = execute_show_command(command, module)[0]
        interface_table = body['TABLE_interface']['ROW_interface']
        mode = str(interface_table.get('eth_mode', 'layer3'))
        if mode == 'access' or mode == 'trunk':
            mode = 'layer2'
    elif intf_type == 'loopback' or intf_type == 'svi':
        mode = 'layer3'
    return mode
def apply_key_map(key_map, table):
    new_dict = {}
    for key, value in table.items():
        new_key = key_map.get(key)
        if new_key:
            value = table.get(key)
            if value:
                new_dict[new_key] = value
            else:
                new_dict[new_key] = value
    return new_dict
def flatten_list(command_lists):