Comment 1 for bug 1354347

Revision history for this message
Rahul (rahuls) wrote :

Template
==========
{
service-template: {
fq_name: [
"default-domain",
"netns-snat-template"
],
uuid: "7e60c09c-acd0-434a-b711-23f4f5186fa9",
parent_uuid: "a1a7761d-b7f2-489e-9aa4-7ac8af90e261",
parent_href: "http://nodec2:8082/domain/a1a7761d-b7f2-489e-9aa4-7ac8af90e261",
parent_type: "domain",
service_template_properties: {
ordered_interfaces: true,
service_virtualization_type: "network-namespace",
interface_type: [
{
static_route_enable: false,
shared_ip: false,
service_interface_type: "left"
},
{
static_route_enable: false,
shared_ip: false,
service_interface_type: "right"
}
],
image_name: null,
service_mode: "in-network-nat",
service_type: "source-nat",
flavor: null,
service_scaling: true
},
href: "http://nodec2:8082/service-template/7e60c09c-acd0-434a-b711-23f4f5186fa9",
id_perms: {
enable: true,
uuid: {
uuid_mslong: 9106490225689904000,
uuid_lslong: 13191364318535905000
},
created: "2014-08-08T06:23:06.172942",
description: null,
last_modified: "2014-08-08T06:23:06.183575",
permissions: {
owner: "cloud-admin",
owner_access: 7,
other_access: 7,
group: "cloud-admin-group",
group_access: 7
}
},
service_instance_back_refs: [
{
to: [
"default-domain",
"demo",
"si_d259e159-88cd-4bb6-975e-fc3301a6bc1c"
],
href: "http://nodec2:8082/service-instance/fe59cf78-143e-4058-b770-26f17fe7617b",
attr: null,
uuid: "fe59cf78-143e-4058-b770-26f17fe7617b"
}
],
name: "netns-snat-template"
}
}

Service Instance
=================
{
service-instance: {
virtual_machine_back_refs: [
{
to: [
"default-domain__demo__si_d259e159-88cd-4bb6-975e-fc3301a6bc1c_1"
],
href: "http://nodec2:8082/virtual-machine/bcfc8c95-bf08-428f-a15d-617986d2623e",
attr: null,
uuid: "bcfc8c95-bf08-428f-a15d-617986d2623e"
}
],
fq_name: [
"default-domain",
"demo",
"si_d259e159-88cd-4bb6-975e-fc3301a6bc1c"
],
uuid: "fe59cf78-143e-4058-b770-26f17fe7617b",
parent_type: "project",
parent_uuid: "38b65570-b6f5-414d-b5a9-e2aa60a44b5f",
parent_href: "http://nodec2:8082/project/38b65570-b6f5-414d-b5a9-e2aa60a44b5f",
service_instance_properties: {
right_virtual_network: "default-domain:demo:public",
left_ip_address: null,
availability_zone: null,
management_virtual_network: null,
auto_policy: true,
interface_list: [ ],
right_ip_address: null,
left_virtual_network: "default-domain:demo:svc_snat_si_d259e159-88cd-4bb6-975e-fc3301a6bc1c",
scale_out: {
auto_scale: true,
max_instances: 1
}
},
href: "http://nodec2:8082/service-instance/fe59cf78-143e-4058-b770-26f17fe7617b",
id_perms: {
enable: true,
uuid: {
uuid_mslong: 18327908273203593000,
uuid_lslong: 13218107725007250000
},
created: "2014-08-08T08:47:09.904507",
description: null,
last_modified: "2014-08-08T08:47:10.231990",
permissions: {
owner: "cloud-admin",
owner_access: 7,
other_access: 7,
group: "cloud-admin-group",
group_access: 7
}
},
service_template_refs: [
{
to: [
"default-domain",
"netns-snat-template"
],
href: "http://nodec2:8082/service-template/7e60c09c-acd0-434a-b711-23f4f5186fa9",
attr: null,
uuid: "7e60c09c-acd0-434a-b711-23f4f5186fa9"
}
],
name: "si_d259e159-88cd-4bb6-975e-fc3301a6bc1c"
}
}