usage: fcpc module/assetlinker [-h]
[--assetlinker.weight.byname ASSETLINKER.WEIGHT.BYNAME]
[--assetlinker.weight.byhostname ASSETLINKER.WEIGHT.BYHOSTNAME]
[--assetlinker.weight.byip ASSETLINKER.WEIGHT.BYIP]
[--assetlinker.weight.bymac ASSETLINKER.WEIGHT.BYMAC]
[--assetlinker.weight.byfqdn ASSETLINKER.WEIGHT.BYFQDN]
[--assetlinker.links.max ASSETLINKER.LINKS.MAX]
[--assetlinker.prefix ASSETLINKER.PREFIX]
[--assetlinker.query ASSETLINKER.QUERY]
[--assetlinker.sync.location {if-empty,if-empty-or-default,force-max,none}]
assetlinker
optional arguments:
-h, --help show this help message and exit
--assetlinker.weight.byname ASSETLINKER.WEIGHT.BYNAME
Link weight for assets with same
name[Defined:fcplib.job.assetlinker] (default: 80)
--assetlinker.weight.byhostname ASSETLINKER.WEIGHT.BYHOSTNAME
Link weight for assets with same
hostname[Defined:fcplib.job.assetlinker] (default: 80)
--assetlinker.weight.byip ASSETLINKER.WEIGHT.BYIP
Link weight for assets with same
IP[Defined:fcplib.job.assetlinker] (default: 100)
--assetlinker.weight.bymac ASSETLINKER.WEIGHT.BYMAC
Link weight for assets with same
MAC[Defined:fcplib.job.assetlinker] (default: 100)
--assetlinker.weight.byfqdn ASSETLINKER.WEIGHT.BYFQDN
Link weight for assets with same
FQDN[Defined:fcplib.job.assetlinker] (default: 100)
--assetlinker.links.max ASSETLINKER.LINKS.MAX
Maximum links to create if there are many similar
objects. If there are more same objects than this,
raise error.[Defined:fcplib.job.assetlinker] (default:
20)
--assetlinker.prefix ASSETLINKER.PREFIX
Tag prefix of assetlinker
job[Defined:fcplib.job.assetlinker] (default: sys)
--assetlinker.query ASSETLINKER.QUERY
Query to search objects to be
linked[Defined:fcplib.job.assetlinker] (default:
host+,l3interface+ not_tag=host=)
--assetlinker.sync.location {if-empty,if-empty-or-default,force-max,none}
Sync locations of the
objects[Defined:fcplib.job.assetlinker] (default: if-
empty)
Choices:
if-empty Sync only objects with empty location
if-empty-or-default Sync only objects with empty or default location
force-max Sync all locations of objects accordning to location
which is found on maximum objects of group
none Do not sync locations
Simple linker job. It searches assets which should be linked and link them.
- Links same name with link ~is
- Links same IP with link ~is
- Links same FQDN with link -is