|
| 1 | +# Get information about software mapping |
| 2 | + |
| 3 | +`ardl` comes with a tool to get all supoprted package format for both CVP and EOS softwares. It helps to know which format to use for a specific file extension. |
| 4 | + |
| 5 | +## Get information about available versions |
| 6 | + |
| 7 | +```bash |
| 8 | +$ ardl info mapping --help |
| 9 | +Usage: ardl info mapping [OPTIONS] |
| 10 | + |
| 11 | + List available flavors of Arista packages (eos or CVP) packages. |
| 12 | + |
| 13 | +Options: |
| 14 | + --package [eos|cvp] |
| 15 | + --format [json|text|fancy] Output format |
| 16 | + --details Show details for each flavor |
| 17 | + --help Show this message and exit. |
| 18 | +``` |
| 19 | + |
| 20 | +## Usage example |
| 21 | + |
| 22 | +With this CLI, you can specify either a branch or a release type when applicable to filter information: |
| 23 | + |
| 24 | + |
| 25 | +```bash |
| 26 | +# Get list of supported packages for EOS. |
| 27 | +$ ardl info mapping --package eos |
| 28 | +Log Level is: error |
| 29 | + |
| 30 | +╭─────────────────────────── Flavors ───────────────╮ |
| 31 | +│ │ |
| 32 | +│ * Flavor: 64 │ |
| 33 | +│ * Flavor: INT │ |
| 34 | +│ * Flavor: 2GB-INT │ |
| 35 | +│ * Flavor: cEOS │ |
| 36 | +│ * Flavor: cEOS64 │ |
| 37 | +│ * Flavor: vEOS │ |
| 38 | +│ * Flavor: vEOS-lab │ |
| 39 | +│ * Flavor: EOS-2GB │ |
| 40 | +│ * Flavor: RN │ |
| 41 | +│ * Flavor: SOURCE │ |
| 42 | +│ * Flavor: default │ |
| 43 | +│ │ |
| 44 | +╰───────────────────────────────────────────────────╯ |
| 45 | + |
| 46 | +# Get list of supported packages for EOS with filename information |
| 47 | +$ ardl info mapping --package eos |
| 48 | +Log Level is: error |
| 49 | + |
| 50 | +╭─────────────────────────────────────────────────── Flavors ─────────╮ |
| 51 | +│ │ |
| 52 | +│ * Flavor: 64 │ |
| 53 | +│ - Information: extension='.swi' prepend='EOS64' │ |
| 54 | +│ * Flavor: INT │ |
| 55 | +│ - Information: extension='-INT.swi' prepend='EOS' │ |
| 56 | +│ * Flavor: 2GB-INT │ |
| 57 | +│ - Information: extension='-INT.swi' prepend='EOS-2GB' │ |
| 58 | +│ * Flavor: cEOS │ |
| 59 | +│ - Information: extension='.tar.xz' prepend='cEOS-lab' │ |
| 60 | +│ * Flavor: cEOS64 │ |
| 61 | +│ - Information: extension='.tar.xz' prepend='cEOS64-lab' │ |
| 62 | +│ * Flavor: vEOS │ |
| 63 | +│ - Information: extension='.vmdk' prepend='vEOS' │ |
| 64 | +│ * Flavor: vEOS-lab │ |
| 65 | +│ - Information: extension='.vmdk' prepend='vEOS-lab' │ |
| 66 | +│ * Flavor: EOS-2GB │ |
| 67 | +│ - Information: extension='.swi' prepend='EOS-2GB' │ |
| 68 | +│ * Flavor: RN │ |
| 69 | +│ - Information: extension='-' prepend='RN' │ |
| 70 | +│ * Flavor: SOURCE │ |
| 71 | +│ - Information: extension='-source.tar' prepend='EOS' │ |
| 72 | +│ * Flavor: default │ |
| 73 | +│ - Information: extension='.swi' prepend='EOS' │ |
| 74 | +│ │ |
| 75 | +╰─────────────────────────────────────────────────────────────────────╯ |
| 76 | + |
| 77 | +``` |
0 commit comments