lustre\_routes\_conversion(8) utilities lustre\_routes\_conversion(8)

# [NAME](#NAME)

lustre\_routes\_conversion - converts a legacy routes configuration file to the new syntax.

# [SYNOPSIS](#SYNOPSIS)

**lustre\_routes\_conversion**

# [DESCRIPTION](#DESCRIPTION)

lustre\_routes\_conversion takes as a first parameter a file with routes configured as follows:

&lt;network&gt; \[&lt;hop&gt;] &lt;gateway&gt;@&lt;exit network&gt;\[:&lt;priority&gt;];

Then converts it to:

&lt;network&gt;: { gateway: &lt;gateway&gt;@&lt;exit network&gt; \[hop: &lt;hop&gt;]  
\[priority: &lt;priority&gt;] }

and appends it to the output file passed in as the second parameter to the script.

Usage:  
lustre\_routes\_conversion &lt;legacy file&gt; &lt;new file&gt;

# [EXAMPLE](#EXAMPLE)

An example of legacy configuration file:

tcp1 10.1.1.2@tcp0:1;  
tcp1 1 10.1.1.2@tcp0;

An example of script output:

tcp1: {gateway: 10.1.1.2@tcp0 priority: 1}  
tcp1: {gateway: 10.1.1.2@tcp0 hop: 1}

An example of script execution:

lustre\_routes\_conversion &lt;path/to/legacy\_config\_file&gt; &lt;path/to/new\_config\_file&gt;

# [SEE ALSO](#SEE_ALSO)

[**lustre**(7)](/man/enterprise-packages/lustre/lustre.7) [**nids**(5)](/man/enterprise-packages/lustre/nids.5) [**lctl**(8)](/man/enterprise-packages/lustre/lctl.8) [**lustre\_routes\_config**(8)](/man/enterprise-packages/lustre/lustre_routes_config.8)

# [AUTHOR](#AUTHOR)

Amir Shehata

April 23, 2013 Lustre

---

Document: lustre_routes_conversion(8) from lustre 2.17.59-r1 (Chainguard OS)
Source: https://github.com/lustre/lustre-release
