Skip to content

Commit

Permalink
Merge branch '57-finalize' into stage
Browse files Browse the repository at this point in the history
  • Loading branch information
cumulusAnia committed Dec 8, 2023
2 parents 108ef79 + 08b9742 commit 5872ed4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,20 +146,20 @@ You can configure these PPS settings:

| PPS In Setting | Description |
| ------- | ----------- |
| `channel-index` | Sets the channel index. You can set a value of 1 or 0. The default value is 0.|
| `channel-index` | Sets the channel index for PPS In. You can set a value of 1 or 0. The default value is 0.|
| `logging-level` | Sets the logging level for PPS In. You can specify `emergency`, `alert`, `critical`, `error`, `warning`, `notice`, `info`, or `debug`. The default logging level is `info`.|
| `pin-index` | Sets the pin index. You can set a value of 1 or 0. The default value is 0.|
| `signal-polarity` | Sets the polarity of the PPS IN signal. You can specify `rising-edge`, `falling-edge`, or `both`. The default setting is `rising-edge`.|
| `signal-width` | Sets the pulse width of the PPS IN signal. You can set a value between 1000000 and 999000000. The default value is 500000000.|
| `timestamp-correction` | Sets the value, in nanoseconds, to add to each PPS time stamp. You can set a value between -1000000000 and 1000000000. The default value is 0. |
| `pin-index` | Sets the pin index for PPS In. You can set a value of 1 or 0. The default value is 0.|
| `signal-polarity` | Sets the polarity of the PPS In signal. You can specify `rising-edge`, `falling-edge`, or `both`. The default setting is `rising-edge`.|
| `signal-width` | Sets the pulse width of the PPS In signal. You can set a value between 1000000 and 999000000. The default value is 500000000.|
| `timestamp-correction` | Sets the value, in nanoseconds, to add to each PPS In time stamp. You can set a value between -1000000000 and 1000000000. The default value is 0. |

| PPS Out Setting | Description |
| ------- | ----------- |
| `channel-index`| Sets the channel index. You can set a value of 1 or 0. The default value is 0.|
| `channel-index`| Sets the channel index for PPS Out. You can set a value of 1 or 0. The default value is 0.|
| `frequency-adjustment` | Sets the frequency adjustment of the PPS Out signal. You can set a value between 1000000000 and 2147483647. The default value is 1000000000.|
| `phase-adjustment` | Sets the phase adjustment of the PPS Out signal. You can set a value between 0 and 1000000000. The default value is 0.|
| `pin-index` | Sets the pin index. Cumulus Linux supports only pin 1.|
| `signal-width` | Sets the pulse width of the PPS OUT signal. You can set a value between 1000000 and 999000000. The default value is 500000000.|
| `pin-index` | Sets the pin index for PPS Out. Cumulus Linux supports only pin 1.|
| `signal-width` | Sets the pulse width of the PPS Out signal. You can set a value between 1000000 and 999000000. The default value is 500000000.|

{{< tabs "TabID592 ">}}
{{< tab "NVUE Commands ">}}
Expand All @@ -173,7 +173,7 @@ The following example configures PPS In and sets:
- The signal width to 999000000.
- The time stamp correction to 1000000000.
- The logging level to `warning`.
- The polarity of the PPS IN signal to `falling-edge`.
- The polarity of the PPS In signal to `falling-edge`.

```
cumulus@switch:~$ nv set platform pulse-per-second in channel-index 1
Expand Down Expand Up @@ -219,7 +219,7 @@ The following example configures PPS In and sets:
- The signal width to 999000000.
- The time stamp correction to 1000000000.
- The logging level to 4 (warning).
- The polarity of the PPS IN signal to falling edge (`falling`).
- The polarity of the PPS In signal to falling edge (`falling`).

```
cumulus@switch:~$ sudo nano /etc/linuxptp/ts2phc.conf
Expand Down
10 changes: 6 additions & 4 deletions content/cumulus-linux-57/Whats-New/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,12 +221,13 @@ nv set platform pulse-per-second in channel-index
nv set platform pulse-per-second in pin-index
nv set platform pulse-per-second in signal-width
nv set platform pulse-per-second in timestamp-correction
nv set platform pulse-per-second in logging-level warning
nv set platform pulse-per-second in signal-polarity falling-edge
nv set platform pulse-per-second in logging-level
nv set platform pulse-per-second in signal-polarity
nv set platform pulse-per-second out channel-index
nv set platform pulse-per-second out signal-width
nv set platform pulse-per-second out phase-adjustment
nv set platform pulse-per-second out frequency-adjustment
nv set platform pulse-per-second out state
nv set router bgp queue-limit input-queue
nv set router bgp queue-limit output-queue
nv set service telemetry histogram ingress-buffer bin-min-boundary
Expand Down Expand Up @@ -360,12 +361,13 @@ nv unset platform pulse-per-second in channel-index
nv unset platform pulse-per-second in pin-index
nv unset platform pulse-per-second in signal-width
nv unset platform pulse-per-second in timestamp-correction
nv unset platform pulse-per-second in logging-level warning
nv unset platform pulse-per-second in signal-polarity falling-edge
nv unset platform pulse-per-second in logging-level
nv unset platform pulse-per-second in signal-polarity
nv unset platform pulse-per-second out channel-index
nv unset platform pulse-per-second out signal-width
nv unset platform pulse-per-second out phase-adjustment
nv unset platform pulse-per-second out frequency-adjustment
nv unset platform pulse-per-second out state
nv unset service telemetry
nv unset service telemetry histogram
nv unset service telemetry histogram ingress-buffer
Expand Down

0 comments on commit 5872ed4

Please sign in to comment.