In KDE I have a button "Import" which can be used to import VPN connection from .ovpn
file.
How to do it in elementary OS Loki?
In Loki, openvpn and networkmanager-openvpn are already installed.
To import an *.ovpn, you need to make sure you have certificate files separate from the *.ovpn.
Then go to System Settings -> Network -> VPN. Click the "+", then in the window that pops up, click on "Add".
In the dropdown you'll see "Import a Saved VPN connection".
Here is a python script that will do the cert separation for you https://gist.github.com/seebk/bb94a7fd70d4cc454aaa
networkmanager-openvpn
package, however I'm not sure whether this step is required for Loki or if it comes preinstalled.