Use endpoint for setting compute and ec2 port

To be consistent with recent changes in
commit: d706b87f9d57efff21bbbd3df1800362b55d8e74
Original change was commit: f67346f092945cc8221705be269d8e0003fcb9e5

For endpoints, use the endpoint.port for setting for in conf files
instead of directly accessing the common default attributes.

Change-Id: Iae73e2cb581b5994acddb3ae933cd26d5214eb31
Merge "Use endpoint for setting compute and ec2 port"