Exemplo n.º 1
0
 def testPodValidateSuccess(self):
     pod = {}
     pod['spineCount'] = '3'
     pod['spineDeviceType'] = 'QFX5100-24Q'
     pod['leafCount'] = '5'
     pod['leafDeviceType'] = 'QFX5100-48S'
     pod['hostOrVmCountPerLeaf'] = 100
     pod['interConnectPrefix'] = '1.2.0.0'
     pod['vlanPrefix'] = '1.3.0.0'
     pod['loopbackPrefix'] = '1.4.0.0'
     pod['spineAS'] = '100'
     pod['leafAS'] = '100'
     pod['topologyType'] = 'threeStage'
     pod['inventory'] = 'inventoryLabKurt.json'
     pod = Pod("test", **pod)
     
     pod.validate()
Exemplo n.º 2
0
    def testPodValidateSuccess(self):
        pod = {}
        pod['spineCount'] = '3'
        pod['spineDeviceType'] = 'QFX5100-24Q'
        pod['leafCount'] = '5'
        pod['leafDeviceType'] = 'QFX5100-48S'
        pod['hostOrVmCountPerLeaf'] = 100
        pod['interConnectPrefix'] = '1.2.0.0'
        pod['vlanPrefix'] = '1.3.0.0'
        pod['loopbackPrefix'] = '1.4.0.0'
        pod['spineAS'] = '100'
        pod['leafAS'] = '100'
        pod['topologyType'] = 'threeStage'
        pod['inventory'] = 'inventoryLabKurt.json'
        pod = Pod("test", **pod)

        pod.validate()
Exemplo n.º 3
0
 def testPodValidateSuccess(self):
     pod = {}
     pod['spineCount'] = '2'
     pod['spineDeviceType'] = 'qfx-5100-24q-2p'
     pod['leafCount'] = '2'
     pod['leafSettings'] = [{'deviceType':'qfx-5100-48s-6q'}]
     pod['hostOrVmCountPerLeaf'] = 100
     pod['interConnectPrefix'] = '1.2.0.0'
     pod['vlanPrefix'] = '1.3.0.0'
     pod['loopbackPrefix'] = '1.4.0.0'
     pod['managementPrefix'] = '172.32.30.101/24'
     pod['spineAS'] = '100'
     pod['leafAS'] = '100'
     pod['topologyType'] = 'threeStage'
     pod['inventory'] = 'inventoryUnitTest.json'
     pod['devicePassword'] = '******'
     pod = Pod("test", pod)
     
     pod.validate()
Exemplo n.º 4
0
    def testPodValidateSuccess(self):
        pod = {}
        pod["spineCount"] = "2"
        pod["spineDeviceType"] = "qfx-5100-24q-2p"
        pod["leafCount"] = "2"
        pod["leafSettings"] = [{"deviceType": "qfx-5100-48s-6q"}]
        pod["hostOrVmCountPerLeaf"] = 100
        pod["interConnectPrefix"] = "1.2.0.0"
        pod["vlanPrefix"] = "1.3.0.0"
        pod["loopbackPrefix"] = "1.4.0.0"
        pod["managementPrefix"] = "172.32.30.101/24"
        pod["spineAS"] = "100"
        pod["leafAS"] = "100"
        pod["topologyType"] = "threeStage"
        pod["inventory"] = "inventoryUnitTest.json"
        pod["devicePassword"] = "******"
        pod = Pod("test", pod)

        pod.validate()