Skip to content

Commit

Permalink
fixing links for specific lines in files
Browse files Browse the repository at this point in the history
  • Loading branch information
jillesca committed Sep 5, 2023
1 parent ce975ea commit ada1908
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Either manually stop and wipe the existing lab and then import the [cml topology

Or run the cml container. _If first time, it will take around 5min to be ready. Manual option could be faster._

> The cml container assumes the default lab is called '_Multi Platform Network_' in cml. If this is not the case, update the [build_run_cml.sh script with the corresponding name](build_run_cml.sh#24)
> The cml container assumes the default lab is called '_Multi Platform Network_' in cml. If this is not the case, update the [build_run_cml.sh script with the corresponding name](build_run_cml.sh#L24)
```bash
chmod +x build_run_cml.sh
Expand Down Expand Up @@ -82,7 +82,7 @@ python app.py

### Verify telemetry on Telegraf, Influxdb, Grafana

- telegraf - [tail -F /tmp/telegraf-grpc.log](telegraf/dockerfile#30)
- telegraf - `docker exec -it telegraf bash` > [tail -F /tmp/telegraf-grpc.log](telegraf/dockerfile#L30)
- Influxdb - <http://localhost:8086> admin/admin123
- Grafana - <http://localhost:3000/dashboards> admin/admin
- General > Network Telemetry
Expand Down Expand Up @@ -147,7 +147,7 @@ If you want to use your own devices, you only need to tell the [netconf client](

To add your devices [create a configuration file under the devices directory.](netconf_client/devices/) Follow the structure of the existing files.

Then you need to tell telegraf, which configuration file it should use under [netconf.conf file](telegraf/netconf.conf#2)
Then you need to tell telegraf, which configuration file it should use under [netconf.conf file](telegraf/netconf.conf#L2)

Rebuild the container using `bash build_run_telegraf.sh`

Expand Down
8 changes: 4 additions & 4 deletions netconf_client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Once the script finishes, it will print the result. This is enough for working w

## Operations

Currently only uses the [GET operation](netconf_session.py#13) to retrieve data.
Currently only uses the [GET operation](netconf_session.py#L13) to retrieve data.

## Ways to retrieve data

Expand Down Expand Up @@ -71,7 +71,7 @@ For example:
--xpath_filter=http://cisco.com/ns/yang/Cisco-IOS-XE-interfaces-oper:interfaces/interface
```

The `xpath` filter is used as [ID internally](factory.py#21).
The `xpath` filter is used as [ID internally](factory.py#L21).

## Netconf Filters

Expand All @@ -91,7 +91,7 @@ The python code that parses the RPC reply is found under [the parsers directory]
If you want to add your own parser. You need to:

- Create a parser under [the parsers directory](parsers)
- You parser must implement the `Parser` class. See an [existing parser for an example](parsers/cisco_ios_xe_memory_oper.py#8)
- Add your new parser to [the factory file](factory.py#5) under the match statement.
- You parser must implement the `Parser` class. See an [existing parser for an example](parsers/cisco_ios_xe_memory_oper.py#L8)
- Add your new parser to [the factory file](factory.py#L5) under the match statement.
- If using a `xml` file, use the file name as ID, including the `.xml` extension.
- If using `xpath`, use the whole xpath expression.

0 comments on commit ada1908

Please sign in to comment.