File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ void VlanMgr::doVlanTask(Consumer &consumer)
363363 mac = fvValue (i);
364364 setHostVlanMac (vlan_id, mac);
365365 }
366- else if (fvField (i) == " hostif_name " )
366+ else if (fvField (i) == " host_ifname " )
367367 {
368368 hostif_name = fvValue (i);
369369 }
@@ -381,7 +381,7 @@ void VlanMgr::doVlanTask(Consumer &consumer)
381381 FieldValueTuple mc (" mac" , mac);
382382 fvVector.push_back (mc);
383383
384- FieldValueTuple hostif_name_fvt (" hostif_name " , hostif_name);
384+ FieldValueTuple hostif_name_fvt (" host_ifname " , hostif_name);
385385 fvVector.push_back (hostif_name_fvt);
386386
387387 m_appVlanTableProducer.set (key, fvVector);
Original file line number Diff line number Diff line change @@ -2934,7 +2934,7 @@ void PortsOrch::doVlanTask(Consumer &consumer)
29342934 {
29352935 mac = MacAddress (fvValue (i));
29362936 }
2937- if (fvField (i) == " hostif_name " )
2937+ if (fvField (i) == " host_ifname " )
29382938 {
29392939 hostif_name = fvValue (i);
29402940 }
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ def create_vlan(self, vlan):
1515
1616 def create_vlan_hostif (self , vlan , hostif_name ):
1717 vlan = "Vlan{}" .format (vlan )
18- vlan_entry = {"vlanid" : vlan , "hostif_name " : hostif_name }
18+ vlan_entry = {"vlanid" : vlan , "host_ifname " : hostif_name }
1919 self .config_db .update_entry ("VLAN" , vlan , vlan_entry )
2020
2121 def remove_vlan (self , vlan ):
You can’t perform that action at this time.
0 commit comments