Merge pull request #780 from nemethf/set_dp_desc

Set the datapath desciption (dp-desc) of OVS switches
This commit is contained in:
lantz
2018-02-28 12:20:20 -08:00
committed by GitHub
+1
View File
@@ -1160,6 +1160,7 @@ class OVSSwitch( Switch ):
opts += ' protocols=%s' % self.protocols opts += ' protocols=%s' % self.protocols
if self.stp and self.failMode == 'standalone': if self.stp and self.failMode == 'standalone':
opts += ' stp_enable=true' opts += ' stp_enable=true'
opts += ' other-config:dp-desc=%s' % self.name
return opts return opts
def start( self, controllers ): def start( self, controllers ):