Extend the listing possibility
Descriptive title for this enhancement
With the new Ipam plugin I thought we could find some use to extend the listing possibility.
Example we have the following LDIF
cn=demo-dev,ou=servers,ou=systems createTimestamp 2020-04-09 20:29:00 modifyTimestamp 2020-04-10 04:33:42 cn demo-dev fdMode unlocked objectClass fdServer objectClass ipHost objectClass ieee802Device ipHostNumber 192.168.10.25 ipHostNumber 192.168.10.34 macAddress ff:ff:ff:ff:ff:fd macAddress ff:ff:ff:ff:ff:fe cn=eth0 createTimestamp 2020-04-10 04:19:38 modifyTimestamp 2020-04-10 04:46:47 objectClass fdNetworkInterface cn eth0 macAddress ff:ff:ff:ff:ff:fe ipHostNumber 192.168.10.25 fdNetworkInterfaceVlanId 42 fdNetworkInterfaceVlanTag the_lvan fdNetworkInterfaceSubnetDN cn=test-192,ou=ipam,dc=demo-fusiondirectory,dc=org cn=eth1 createTimestamp 2020-04-10 04:33:15 modifyTimestamp 2020-04-10 04:33:15 objectClass fdNetworkInterface cn eth1 macAddress ff:ff:ff:ff:ff:fd fdNetworkInterfaceVlanTag 234 ipHostNumber 192.168.10.34 cn=eth2 createTimestamp 2020-04-10 04:56:11 modifyTimestamp 2020-04-10 04:56:11 objectClass fdNetworkInterface cn eth2 macAddress ff:ff:ff:ff:ff:fc fdNetworkInterfaceSubnetDN cn=test-192,ou=ipam,dc=demo-fusiondirectory,dc=org ipHostNumber 192.168.1.1
We can only use attributs from the root object in the listing.
Example, if I want the "cn" as Column it only show me "demo-dev"
I would want to display the cn from eth1, so at first we need the possibility to search through sub objects and finaly a way to "filter" what we want.
Example show me the "cn" attribute for the objects with a dn that match my filter "cn=eth1" or something similar.
Step by step description of new behaviour
- Adding attribute + filter to the listing
- Test if we see the right element
It will help making more complex listing information.
We could imagine something like showing only the IP of an interface or showing in one column the cn and another one the ip