Allow user to delete a whole flow table.

Signed-off-by: Min Chen <minchnew@gmail.com>
Use IP address and port number to identify a controller.

Signed-off-by: Min Chen <minchnew@gmail.com>
bug#1743 The cached data is shown unexpectedly on deleting a bridge
and adding a bridge with the same name immediately.

Failure to reset the $scope.br variable caused this bug. Assign null
to $scope.br.name when Switch Resouce is displayed.

Signed-off-by: Min Chen <minchnew@gmail.com>
Extract group info from command line output. Added legacy support for old style.

Signed-off-by: Min Chen <minchnew@gmail.com>
Fix a minor bug where groups of type "fast_failover" are not shown correctly.

Signed-off-by: Min Chen <minchnew@gmail.com>
Array.sort sorts array members as strings regardless of their real type. Have
to specify a sort funciton to sort arrays numerically.

Signed-off-by: Min Chen <minchnew@gmail.com>