def _do_create_sub_interface(self, sub_interface, vlan_id, vrf_name, ip,
                                mask):
        if vrf_name not in self._get_vrfs():
            LOG.error(_LE("VRF %s not present"), vrf_name)
        conf_str = snippets.CREATE_SUBINTERFACE % (sub_interface, vlan_id,
                                                   vrf_name, ip, mask)
        self._edit_running_config(conf_str, 'CREATE_SUBINTERFACE')
dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/plugins/cisco/cfg_agent/device_drivers/csr1kv/iosxe_routing_driver.py/IosXeRoutingDriver._do_create_sub_interface/original