Change-Id: Id779d4d818621db042c420e034083577a3d3ab0d
blueprint: ec2-service-endpoint
| ... | ... |
@@ -28,6 +28,7 @@ $BIN_DIR/keystone-manage $* role grant KeystoneServiceAdmin admin |
| 28 | 28 |
|
| 29 | 29 |
# Services |
| 30 | 30 |
$BIN_DIR/keystone-manage $* service add nova compute "Nova Compute Service" |
| 31 |
+$BIN_DIR/keystone-manage $* service add ec2 ec2 "EC2 Compatability Layer" |
|
| 31 | 32 |
$BIN_DIR/keystone-manage $* service add glance image "Glance Image Service" |
| 32 | 33 |
$BIN_DIR/keystone-manage $* service add keystone identity "Keystone Identity Service" |
| 33 | 34 |
if [[ "$ENABLED_SERVICES" =~ "swift" ]]; then |
| ... | ... |
@@ -36,6 +37,7 @@ fi |
| 36 | 36 |
|
| 37 | 37 |
#endpointTemplates |
| 38 | 38 |
$BIN_DIR/keystone-manage $* endpointTemplates add RegionOne nova http://%HOST_IP%:8774/v1.1/%tenant_id% http://%HOST_IP%:8774/v1.1/%tenant_id% http://%HOST_IP%:8774/v1.1/%tenant_id% 1 1 |
| 39 |
+$BIN_DIR/keystone-manage $* endpointTemplates add RegionOne ec2 http://%HOST_IP%:8773/services/Cloud http://%HOST_IP%:8773/services/Admin http://%HOST_IP%:8773/services/Cloud 1 1 |
|
| 39 | 40 |
$BIN_DIR/keystone-manage $* endpointTemplates add RegionOne glance http://%HOST_IP%:9292/v1.1/%tenant_id% http://%HOST_IP%:9292/v1.1/%tenant_id% http://%HOST_IP%:9292/v1.1/%tenant_id% 1 1 |
| 40 | 41 |
$BIN_DIR/keystone-manage $* endpointTemplates add RegionOne keystone http://%HOST_IP%:5000/v2.0 http://%HOST_IP%:35357/v2.0 http://%HOST_IP%:5000/v2.0 1 1 |
| 41 | 42 |
if [[ "$ENABLED_SERVICES" =~ "swift" ]]; then |