https://github.com/jbostoen/itop-jb-lnkconnectablecitoconnectableci
https://github.com/jbostoen/itop-jb-lnkconnectablecitoconnectableci
itop itop-extension itop-extensions itop-module
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jbostoen/itop-jb-lnkconnectablecitoconnectableci
- Owner: jbostoen
- Created: 2021-03-31T14:51:56.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-05-23T11:22:40.000Z (about 3 years ago)
- Last Synced: 2023-05-23T12:31:20.794Z (about 3 years ago)
- Topics: itop, itop-extension, itop-extensions, itop-module
- Language: PHP
- Homepage: https://jeffreybostoen.be
- Size: 26.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# jb-lnkconnectablecitoconnectableci
Copyright (c) 2019-2021 Jeffrey Bostoen
[](https://github.com/jbostoen/iTop-custom-extensions/blob/master/license.md)
[](https://www.paypal.me/jbostoen)
🍻 ☕
Need assistance with iTop or one of its extensions?
Need custom development?
Please get in touch to discuss the terms: **info@jeffreybostoen.be** / https://jeffreybostoen.be
## What?
This class is very similar to the lnkConnectableCIToNetworkDevice.
However, with this implementation, ConnectableCI should be linkable to other ConnectableCIs.
(ConnectableCI = parent of DatacenterDevices such as NAS, NetworkDevice, Server, SANSwitch, StorageSystem, TypeLibrary...)
Additional info can be added, such as:
* **comment**
* **link type** (USB 3.0, RJ45, optical fibre single or multi mode, ...)
* **patch label**
⚠ This alters default iTop classes.
In the "Network devices" tab of a Connectable CI, it replaces Link Connectable CI / Network Device.
In the "Devices" tab of a Network Device, it replaces Link Connectable CI / Network Device.
It doesn't remove this old class though!
With some work (for example CSV export/import), you can copy most of your old data from the lnkConnectableCIToNetworkDevice to lnkConnectableCIToConnectableCI.
## Cookbook
XML:
* add a new class
## Upgrade notes
If you used the jb-ipdevices class before, you can run this query on your database:
```
use itop;
UPDATE lnkconnectablecitoconnectableci
SET device1_id = connectableci_id, device1_port = device_port, device2_Id = networkdevice_id, device2_port = network_port
```