added vpls for juniper and refactored