예제 #1
0
 def create_tenant(self, name, uuid=None, vlans=None):
     return UnityTenant.create(self._cli, name, uuid=uuid, vlans=vlans)
예제 #2
0
 def f():
     UnityTenant.create(t_rest('4.0.0'),
                        'test',
                        uuid='173ca6c3-5952-427d-82a6-df88f49e3926',
                        vlans=[3])
예제 #3
0
 def do():
     UnityTenant.create(t_rest('4.1.0'), 'dup', vlans=[3])
예제 #4
0
 def test_create_tenant(self):
     UnityTenant.create(t_rest('4.1.0'),
                        'test',
                        uuid='173ca6c3-5952-427d-82a6-df88f49e3926',
                        vlans=[3])