# AFS_cellalias

Parses AFS configuration file CellAlias

Author: Pat Riehecky rieh.nosp@m.ecky@fnal.nosp@m..gov

Summary

AFS_cellalias | Parses AFS configuration file CellAlias
Reference | This lens is targeted at the OpenAFS CellAlias file
Lens Usage | Sample usage of this lens in augtool
License | This file is licensed under the LGPL v2+, like the rest of Augeas.
USEFUL PRIMITIVES |
Comments and empty lines |
eol |
comment |
empty |
separators |
space | Separation between key and value
ENTRIES |
entry |
lns |

### Reference

This lens is targeted at the OpenAFS CellAlias file

### Lens Usage

Sample usage of this lens in augtool

- Add a CellAlias for fnal.gov/files to fnal-files

>     set /files/usr/vice/etc/CellAlias/target[99] fnal.gov/files
>     set /files/usr/vice/etc/CellAlias/target[99]/linkname fnal-files

### License

This file is licensed under the LGPL v2+, like the rest of Augeas.

### USEFUL PRIMITIVES

### Comments and empty lines

### eol

> let eol = Util.eol

### comment

> let comment = Util.comment

### empty

> let empty = Util.empty

### separators

### space

> let space = Util.del_ws_spc

Separation between key and value

### ENTRIES

### entry

> let entry = [ label "target" . store target . space . [ label "linkname" . store linkname . eol ] ]

### lns

> let lns = (empty | comment | entry)*

> let eol = Util.eol

> let comment = Util.comment

> let empty = Util.empty

> let space = Util.del_ws_spc

Separation between key and value

> let entry = [ label "target" . store target . space . [ label "linkname" . store linkname . eol ] ]

> let lns = (empty | comment | entry)*

Close