It is actually pretty weird
There are actually -up -route-up and -down commands already as you can see from the commandline ( ps | grep openvpn
) I have been trying to follow the bouncing ball as to what that does but it is pretty complicated and I am not quite sure exactly what it does but it seems to parse the .ovpn file for up and down (but not for route-up?) and on ifup and ifdown it executes that.
I could be completely mistaken and I have not delved further into it as I got side tracked:
But I will look further into it and hope to find some documentation about it