def setUp(self): # Instantiate class object self.cls = InstallRemoveInactive() # Instantiate device object. This also sets up commonly needed # attributes and Mock objects associated with the device. self.device = create_test_device('PE1', os='iosxe')
def setUp(self): # Instantiate class object self.cls = ExpandImage() # Instantiate device object. This also sets up commonly needed # attributes and Mock objects associated with the device. self.device = create_test_device('PE1', os='iosxe', platform='sdwan')
def setUp(self): # Instantiate class object self.cls = DeleteBackupFromDevice() # Instantiate device object. This also sets up commonly needed # attributes and Mock objects associated with the device. self.device = create_test_device('PE1', os='iosxe')
def setUp(self): # Instantiate class object self.cls = FabricClean() # Instantiate device object. This also sets up commonly needed # attributes and Mock objects associated with the device. self.device = create_test_device('PE1', os='apic')
def setUp(self): # Instantiate class object self.cls = ChangeBootVariable() # Instantiate device object. This also sets up commonly needed # attributes and Mock objects associated with the device. self.device = create_test_device('PE1', os='iosxe')
def setUp(self): # Instantiate class object self.cls = ApplyConfiguration() # Instantiate device object. This also sets up commonly needed # attributes and Mock objects associated with the device. self.device = create_test_device('PE1', os='iosxe')
def setUp(self): # Instantiate class object self.cls = InstallPackages() # Instantiate device object. This also sets up commonly needed # attributes and Mock objects associated with the device. self.device = create_test_device('PE1', os='iosxe') self.device.hostname = 'PE1'
def setUp(self): self.cls = ChangeBootVariable() self.device = create_test_device('PE1', os='iosxe')
def setUp(self): self.cls = ChangeBootVariable() self.device = create_test_device('PE1', os='nxos') self.device.is_ha = True