encode the rspec sharedvlan extension