You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Port forwarding on source Nat

1. create an account
2. start the first VM, should start the domain router
3. on this domR (which is also the sourceNAT), create a portforwarding rule to forward ssh traffic to the user VM created in step 1.
4. createPortForwardingRule API - protocol = tcp, privateport = 22, publicport = 22, virtualmachineid = id of vm from step 1.

1. listPortForwarding rules API should return the added PF rule
2. attempt to do an ssh into the user VM through the sourceNAT

Port Forward on non source NAT

1. create an account, deploy first VM
2. acquire an IP using - associateIpAddress
3. perform port forwarding on the acquired IP address for SSH traffic using createPortForwardingRule api

1. listPortForwardingRules should return the added portforward for the correct IP address and with the correct ports
2. attempt to do an ssh into the userVM through the associated IP address

delete port forward rule

1. Delete the above port forward rules using the deletePortForwardRule APi

1. listPortForwardingRules should not return the deleted rule anymore
2. attempt to do ssh should now fail

createLoadBalancingRule sourceNAT

1. create an account, deploy first and second VM
2. create a LB rule using the createLoadBalancingRule API for ssh Load balancing
3. use assignToLoadBalancerRule API to assign first VM and second VM for round robin load balancing

1. listLoadBalancerRules should return the added rule
2. attempt to ssh twice on the load balanced IP
3. verify using the hostname of the VM that round robin is indeed happening as expected

  • No labels