Skip to content

Commit

Permalink
Fix value names
Browse files Browse the repository at this point in the history
  • Loading branch information
pskliarenko committed Nov 6, 2023
1 parent f50f3a3 commit 3aaf2f5
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ Start
Column1
^(\s*-*)*\s*$$
^\s*Ch\s+Description\s*$$ -> Column2
^\s*${PORT}(\s+${DESCRIPTION})?\s*$$ -> Record
^\s*${INTERFACE}(\s+${DESCRIPTION})?\s*$$ -> Record
^\s*$$
^. -> Error

Column2
^(\s*-*)*\s*$$
^\s*${PORT}(\s+${DESCRIPTION})?\s*$$ -> Record
^\s*${INTERFACE}(\s+${DESCRIPTION})?\s*$$ -> Record
^\s*$$
^. -> Error
Original file line number Diff line number Diff line change
@@ -1,74 +1,74 @@
---
parsed_sample:
- description: "Test"
port: "fa1"
interface: "fa1"
- description: "Printer"
port: "fa2"
interface: "fa2"
- description: "Socket_7/7"
port: "fa3"
interface: "fa3"
- description: "Socket_7/3"
port: "fa4"
interface: "fa4"
- description: ""
port: "fa5"
interface: "fa5"
- description: ""
port: "fa6"
interface: "fa6"
- description: ""
port: "fa7"
interface: "fa7"
- description: "Camera"
port: "fa8"
interface: "fa8"
- description: "Camera"
port: "fa9"
interface: "fa9"
- description: "Camera"
port: "fa10"
interface: "fa10"
- description: ""
port: "fa11"
interface: "fa11"
- description: "Socket_7/2"
port: "fa12"
interface: "fa12"
- description: "Socket_7/4"
port: "fa13"
interface: "fa13"
- description: "Socket_7/8"
port: "fa14"
interface: "fa14"
- description: ""
port: "fa15"
interface: "fa15"
- description: ""
port: "fa16"
interface: "fa16"
- description: ""
port: "fa17"
interface: "fa17"
- description: ""
port: "fa18"
interface: "fa18"
- description: ""
port: "fa19"
interface: "fa19"
- description: ""
port: "fa20"
interface: "fa20"
- description: ""
port: "fa21"
interface: "fa21"
- description: ""
port: "fa22"
interface: "fa22"
- description: "AP"
port: "fa23"
interface: "fa23"
- description: "AP"
port: "fa24"
interface: "fa24"
- description: ""
port: "gi1"
interface: "gi1"
- description: ""
port: "gi2"
interface: "gi2"
- description: ""
port: "gi3"
interface: "gi3"
- description: "Eltex2124-8 - gi1/0/5"
port: "gi4"
interface: "gi4"
- description: ""
port: "Po1"
interface: "Po1"
- description: ""
port: "Po2"
interface: "Po2"
- description: ""
port: "Po3"
interface: "Po3"
- description: ""
port: "Po4"
interface: "Po4"
- description: ""
port: "Po5"
interface: "Po5"
- description: ""
port: "Po6"
interface: "Po6"
- description: ""
port: "Po7"
interface: "Po7"
- description: ""
port: "Po8"
interface: "Po8"

0 comments on commit 3aaf2f5

Please sign in to comment.