Skip to content

feat(anta.tests): support for verifyPTP* tests on ceosLAB #1314

@sarunac

Description

@sarunac

Add support for following PTP tests on ceosLAB. the platform now supports PTP configuration

anta.tests.ptp:
- VerifyPtpGMStatus:
    gmid: 01:02:03:ff:ff:04:05:06
- VerifyPtpLockStatus: {}
- VerifyPtpModeStatus: {}
- VerifyPtpPortModeStatus: {}
AMBER-SPINE1#sh ver
Arista cEOSLab
Hardware version:
Serial number: 7141B256AF8177F59B183913AF53E6D6
Hardware MAC address: 001c.737f.ac0a
System MAC address: 001c.737f.ac0a

Software image version: 4.34.1F-41757362.orinocorel (engineering build)
Architecture: x86_64
Internal build version: 4.34.1F-41757362.orinocorel
Internal build ID: 26492ae2-010f-49d8-a445-10105c4c4117
Image format version: 1.0
Image optimization: None

Kernel version: 5.15.0-25-generic

Uptime: 1 day, 9 hours and 34 minutes
Total memory: 32876836 kB
Free memory: 17246928 kB


AMBER-SPINE1#sh ptp
PTP Mode: Boundary Clock
PTP Profile: Default ( IEEE1588 )
Clock Identity: 01:02:03:ff:ff:04:05:06
Grandmaster Clock Identity: 01:02:03:ff:ff:04:05:06
Number of slave ports: 0
Number of master ports: 4
Offset From Master (nanoseconds): 0
Mean Path Delay (nanoseconds): 0
Steps Removed: 0
Skew (estimated local-to-master clock frequency ratio): 1.0
   Interface       State        Transport    Delay
                                             Mechanism
--------------- ------------ --------------- ---------
   Et1             Master       ipv4         e2e
   Et2             Master       ipv4         e2e
   Et5             Master       ipv4         e2e
   Et6             Master       ipv4         e2e


AMBER-SPINE1#show ptp monitor
PTP Mode: Boundary Clock
Ptp monitoring: enabled
Number of entries: 0
Offset from master threshold: 250
Mean path delay threshold: 1500
Skew threshold: not configured
   Interface       Time       Offset from       Mean Path         Skew    Seq Id
                              Master (ns)       Delay (ns)
--------------- ---------- ----------------- ----------------- ---------- ------

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions