shared net support. Diff from Ajay. Todo: Handle resetting the shared flag. Floating ip allocation from horizon
(cherry picked from commit cecb9c9828399fb6101379ee9e09a4d2172f769e)