mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-6732: Fix:[OVS][UI] Network Service Providers page displays two ovs providers
This commit is contained in:
parent
80ef915fd5
commit
5c36fe84b6
@ -6177,7 +6177,7 @@
|
||||
args.response.success({
|
||||
actionFilter: virtualRouterProviderActionFilter,
|
||||
data: $.extend(nspMap[ "Ovs"], {
|
||||
supportedServices: nspMap[ "Ovs"].servicelist.join(', ')
|
||||
supportedServices: nspMap["Ovs"] == undefined? "": nspMap["Ovs"].servicelist.join(', ')
|
||||
})
|
||||
});
|
||||
}
|
||||
@ -19444,11 +19444,14 @@
|
||||
});
|
||||
}
|
||||
|
||||
if ($.grep(nspHardcodingArray, function(e) { return e.id == 'Ovs'; }).length == 0 ) {
|
||||
nspHardcodingArray.push({
|
||||
id: 'OVS',
|
||||
name: 'OVS',
|
||||
id: 'Ovs',
|
||||
name: 'Ovs',
|
||||
state: nspMap.Ovs ? nspMap.Ovs.state : 'Disabled'
|
||||
});
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
cloudStack.actionFilter.physicalNetwork = function (args) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user