add 'mode' attribute to virtual_server provider