Set the datapath desciption (dp-desc) of OVS switches
This commit is contained in:
1 parent
f65e1ab936
commit
a638e0b085
1 file changed
+1
@@ -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 ):
|
||||||
|
|||||||
Reference in new issue
Block a user