Default language.

File node


A File node is most often used to track a configuration file. The files that are tracked for each OS are specified by patterns. File nodes are under the full control of patterns.

For detailed information about patterns, see the The-Pattern-Language-TPL and Configipedia.

File node lifecycle

The following section describes the scenarios in which a File node is created, updated or removed.

Creation/update

This is under the full control of patterns and as a result there is no default File node behavior.
The generated key for a File node is entirely dependent on the pattern that creates the File node.

Removal

A File node can be destroyed in one of following ways:

  • Explicitly by the pattern that created it. See Removal in the Pattern Language guide
  • If the File node is triggered from another Inferred node, then when this inferred node is destroyed, so will the File node. This is a Cascade Removal type, see Cascade Removal.
  • Manually, by selecting the necessary File node, and picking Destroy from the Actions list.

Attributes of the File node

The attributes of the File node are described in the following table:

UI Name
Attribute Name and Type
Description 
Path
path : string 
Path to file
Size
size : int 
Size in bytes
MD5 Checksum
md5sum : string 
MD5 checksum
Last Modified
last_modified : string 
Last modified time 
Content
content : string 
File content

Relationships of the File node

The relationships of the File node are described in the following table:

UI Name Relationship Description 
Clusters Depending Upon This DependedUpon:
Dependency:
Dependant:
Cluster
 
Clusters that depend on this File
Contained Software Instances Depending Upon This DependedUpon:
Dependency:
Dependant:
ContainedSoftwareInstance
 
Contained Software Instances that depend on this File
Databases Depending Upon This DependedUpon:
Dependency:
Dependant:
Database
 
Databases that depend on this File
Details Depending Upon This DependedUpon:
Dependency:
Dependant:
Detail
 
Details that depend on this File
Software Clusters Depending Upon This DependedUpon:
Dependency:
Dependant:
SoftwareCluster
 
Software Clusters that depend on this File
Software Components Depending Upon This DependedUpon:
Dependency:
Dependant:
SoftwareComponent
 
Software Components that depend on this File
Software Containers Depending Upon This DependedUpon:
Dependency:
Dependant:
SoftwareContainer
 
Software Containers that depend on this File
Software Instances Depending Upon This DependedUpon:
Dependency:
Dependant:
SoftwareInstance
 
Software Instances that depend on this File
Software Pods Depending Upon This DependedUpon:
Dependency:
Dependant:
SoftwarePod
 
Software Pods that depend on this File
Virtual Machines Depending Upon This DependedUpon:
Dependency:
Dependant:
VirtualMachine
 
Virtual Machines that depend on this File
Host HostedFile:
HostedFile:
Host:
Host
 
The Host of this this File
Maintaining Pattern Element:
Maintainer:
Pattern:
Pattern
 
Pattern maintaining this File
Contained Software Instances File:
RelatedFile:
ElementUsingFile:
ContainedSoftwareInstance
 
Contained Software Instances using this File
Software Containers File:
RelatedFile:
ElementUsingFile:
SoftwareContainer
 
Software Containers using this File
Software Instances File:
RelatedFile:
ElementUsingFile:
SoftwareInstance
 
Software Instances using this File

Expressions of the File node

The expressions of the File node are described in the following table: {anchor:exprs}

UI Name Expression Description
Size size_display : formatQuantity(size, "B1024") File size

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*