package org.dasein.cloud.azurepack.network;

import org.dasein.cloud.azurepack.AzurePackCloud;
import org.dasein.cloud.network.AbstractNetworkServices;
import org.dasein.cloud.network.VLANSupport;
import org.dasein.cloud.network.IpAddressSupport;

import javax.annotation.Nullable;

/**
 * Created by vmunthiu on 3/26/2015.
 */
public class AzurePackNetworkServices extends AbstractNetworkServices<AzurePackCloud> {
    private AzurePackCloud provider;

    public AzurePackNetworkServices(AzurePackCloud cloud) { super(cloud); }

    public @Nullable IpAddressSupport getIpAddressSupport() {
        return null;
        //return new StaticIp(cloud);
    }

    @Nullable
    @Override
    public VLANSupport getVlanSupport() {
        return new AzurePackNetworkSupport(provider);
    }
}

@@ -506,16 +506,24 @@
 cloud) %7B
+%0A       
  super(c
@@ -528,16 +528,51 @@
 (cloud);
+%0A        this.provider = cloud;%0A   
  %7D%0A%0A    

fix network services provider