Index: /branches/rel_avx_2_7_3/src/webui/webui/htdocs/new/src/avx/models/network/vswitch/__init__.py
===================================================================
--- /branches/rel_avx_2_7_3/src/webui/webui/htdocs/new/src/avx/models/network/vswitch/__init__.py	(revision 8888)
+++ /branches/rel_avx_2_7_3/src/webui/webui/htdocs/new/src/avx/models/network/vswitch/__init__.py	(working copy)
@@ -154,7 +154,10 @@
                     status_cmd_result[switch_name] = {
                         'switch_name': switch_name,
                         'ports': [],  # List to hold port information
-                        'bonds': []  # List to hold bond information
+                        'bonds': [],  # List to hold bond information
+                        'stp': False,
+                        'priority': 32768,
+                        'interfaces': []
                     }
 
                 # Find port details within the matched switch block
@@ -188,6 +191,11 @@
                             'link_status': 'Up' if bond_link_detected == 'yes' else 'Down'
                         })
                     status_cmd_result[switch_name]['bonds'].append(bond_result)
+                if config_cmd_output.find("switch stp %s" % switch_name) != -1:
+                    priority_arr = cli_parse(config_cmd_output, EasyParser('switch stp %s' % switch_name, ['?priority']))
+                    for priority_info in priority_arr:
+                        status_cmd_result[switch_name]['priority'] = int(priority_info['priority'])
+                        status_cmd_result[switch_name]['stp'] = True
 
             # Combine results
             result = []
@@ -198,7 +206,10 @@
                     'name': switch_name,
                     'mode': switch['mode'],
                     'ports': switch_info.get('ports', []),
-                    'bonds': switch_info.get('bonds', [])
+                    'bonds': switch_info.get('bonds', []),
+                    'stp': switch_info.get('stp', False),
+                    'priority': switch_info.get('priority', 32768),
+                    'interfaces': self._get_interfaces({'name': switch_name})
                 }
                 result.append(switch_result)
 
@@ -484,4 +495,4 @@
             result = self.cli.cmd('show system tune switch cpuborrow',
                                   RegexParser('Domain(?P<domain>[1|2]): (?P<cpu_thread_total>[0-9]+)', MATCHALL,
                                               reflags=re.S))
-            return QuerySet(self._model, result)
\ No newline at end of file
+            return QuerySet(self._model, result)
Index: /branches/rel_avx_2_7_3/src/webui/webui/htdocs/new/src/client/app/modules/network/submenu/virtual_switch/detail_pages/vswitch-settings.controller.js
===================================================================
--- /branches/rel_avx_2_7_3/src/webui/webui/htdocs/new/src/client/app/modules/network/submenu/virtual_switch/detail_pages/vswitch-settings.controller.js	(revision 8888)
+++ /branches/rel_avx_2_7_3/src/webui/webui/htdocs/new/src/client/app/modules/network/submenu/virtual_switch/detail_pages/vswitch-settings.controller.js	(working copy)
@@ -32,6 +32,7 @@
                             $scope.allow_config = $rootScope.allow_config; 
                         }
                     });
+                setTimeout(function() {
                 netResourceService
                     .get_vswitch_fieldgroup_by_name($scope.current_vswitch_name, 'interface')
                     .then(function(tableData) {
@@ -58,6 +59,7 @@
                                 });
                         }
                     });
+                }, 100);
             };
 
             tabViewModel.showProgressBar = function() {
@@ -120,4 +122,4 @@
 
             tabViewModel.getVswitchSettings();
         }
-    ])
\ No newline at end of file
+    ])
Index: /branches/rel_avx_2_7_3/src/webui/webui/htdocs/new/src/hive/model/fields/builtin.py
===================================================================
--- /branches/rel_avx_2_7_3/src/webui/webui/htdocs/new/src/hive/model/fields/builtin.py	(revision 8888)
+++ /branches/rel_avx_2_7_3/src/webui/webui/htdocs/new/src/hive/model/fields/builtin.py	(working copy)
@@ -2143,7 +2143,7 @@
     def value_to_rest(self, obj=None, val=None):
         if val is None:
             val = self._get_val_from_obj_or_val(obj)
-        return {field_name: field.value_to_rest(val=value) for field_name, field in self.fields.items() if
+        return {field_name: field.value_to_rest(val) for field_name, field in self.fields.items() if
                 field_name in val}
 
     def _value_to_display(self, obj=None, val=None, style=True, text=True):
@@ -2154,4 +2154,4 @@
             if field_name in val:
                 display_str += '<li>{}: {}</li>'.format(field_name, field._value_to_display(val=val[field_name]))
         display_str += '</ul>' if style else ''
-        return display_str
\ No newline at end of file
+        return display_str
