Skip to content

Commit

Permalink
Closes-Bug: #1420288 - Baremetal: Default security group refs should …
Browse files Browse the repository at this point in the history
…be set to the port when creating logical interface with a port

Change-Id: Ie3cafd2085aa05c3bc29363bf2abd7241f6c55aa
  • Loading branch information
sbavanasi committed Feb 10, 2015
1 parent a13f88a commit c2926e0
Showing 1 changed file with 28 additions and 2 deletions.
Expand Up @@ -422,8 +422,16 @@ function physicalInterfacesConfig() {
},
function(){
//failure
var r = arguments;
showInfoWindow(r[0].responseText,r[2]);
fetchData();
}
);
}).fail(function(){
//failure
var r = arguments;
showInfoWindow(r[0].responseText,r[2]);
fetchData();
});

}
Expand Down Expand Up @@ -566,7 +574,16 @@ function physicalInterfacesConfig() {
"subnet_uuid": input.subnetId
}
],
"virtual_machine_interface_device_owner" : ""
"virtual_machine_interface_device_owner" : "",
"security_group_refs" : [
{
"to" :[
curDomain,
curProject,
"default"
]
}
]
}
};
} else {
Expand Down Expand Up @@ -594,7 +611,16 @@ function physicalInterfacesConfig() {
"subnet_uuid": input.subnetId
}
],
"virtual_machine_interface_device_owner" : ""
"virtual_machine_interface_device_owner" : "",
"security_group_refs" : [
{
"to" :[
curDomain,
curProject,
"default"
]
}
]
}
};
}
Expand Down

0 comments on commit c2926e0

Please sign in to comment.