Skip to content

Commit

Permalink
Closes-Bug: #1436714 - Removed the L2 Gateway option in Logical Inter…
Browse files Browse the repository at this point in the history
…face create. Renamed the L2 Server to Server.

Change-Id: I70446a92eb9fb5dd9d9542f0a53990754245acdb
  • Loading branch information
manojgn committed Mar 26, 2015
1 parent 6bcdc6d commit a3838d8
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ function physicalInterfacesConfig() {
});

var ddLIType = $('#ddLIType').data('contrailDropdown');
ddLIType.setData([{text : 'L2 Gateway', value : 'l2Gateway'}, {text : 'L2 Server', value : 'l2Server'}, {text : 'L3', value : 'l3'}]);
// ddLIType.setData([{text : 'L2 Gateway', value : 'l2Gateway'}, {text : 'L2 Server', value : 'l2Server'}, {text : 'L3', value : 'l3'}]);
ddLIType.setData([{text : 'Server', value : 'l2Server'}, {text : 'L3', value : 'l3'}]);
ddLIType.value('l2Server');

$('#ddVN').contrailDropdown({
Expand Down Expand Up @@ -740,7 +741,7 @@ function physicalInterfacesConfig() {
}
if(gblSelRow.li_type != '-') {
if(gblSelRow.li_type == 'L2'){
$('#ddLIType').data('contrailDropdown').text('L2 Server');
$('#ddLIType').data('contrailDropdown').text('Server');
} else {
$('#ddLIType').data('contrailDropdown').text('L3');
}
Expand Down

0 comments on commit a3838d8

Please sign in to comment.