Skip to content

Define PTP model for the Dell Enterprise SONiC collection #300

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

PraneshRaagavS
Copy link

Initial posting of model definition for PTP ansible changes

Copy link
Contributor

@ArunSaravananBalachandran ArunSaravananBalachandran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please ensure that the indentation is uniform across all the examples.

Comment on lines 30 to 31
- the priority1 attribute of the local clock.
- the range is from 0 to 255.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- the priority1 attribute of the local clock.
- the range is from 0 to 255.
- The priority1 attribute of the local clock.
- The range is from 0 to 255.

Comment on lines 35 to 36
- the priority2 attribute of the local clock.
- the range is from 0 to 255.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- the priority2 attribute of the local clock.
- the range is from 0 to 255.
- The priority2 attribute of the local clock.
- The range is from 0 to 255.

Comment on lines 71 to 72
- Defines the type of clock configured in the PTP domain.
- The possible values are (BC)|(P2P_TC)|(E2E_TC)|(disable)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Defines the type of clock configured in the PTP domain.
- The possible values are (BC)|(P2P_TC)|(E2E_TC)|(disable)
- Specifies the type of clock configured in the PTP domain.

Comment on lines 77 to 78
- The network transport used for communication
- The permitted values are (L2)|(UDPv4)|(UDPv6)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- The network transport used for communication
- The permitted values are (L2)|(UDPv4)|(UDPv6)
- The network transport used for communication.

Comment on lines 83 to 85
- Whether the network transport uses unicast or
- multicast communication
- The permitted values are (unicast)|(multicast)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Whether the network transport uses unicast or
- multicast communication
- The permitted values are (unicast)|(multicast)
- Specifies whether the network transport uses unicast or multicast communication.

- interface: 'ethernet0'
role: 'slave'
localpriority: 100
unicasttable: ['1.1.1.1']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
unicasttable: ['1.1.1.1']
unicasttable:
- '1.1.1.1'

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will address this like unicasttable: ["1.1.1.1" , "1.1.1.2"]

config:
- interface : 'Ethernet0'
role: 'slave'
unicasttable: ['1.1.1.1']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
unicasttable: ['1.1.1.1']
unicasttable:
- '1.1.1.1'

# sonic#

- name: Delete specified PTP configurations
dellemc.enterprise_sonic.sonic_ptp:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
dellemc.enterprise_sonic.sonic_ptp:
dellemc.enterprise_sonic.sonic_ptp_port_ds:

# sonic#

- name: Delete specified PTP configurations
dellemc.enterprise_sonic.sonic_ptp:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
dellemc.enterprise_sonic.sonic_ptp:
dellemc.enterprise_sonic.sonic_ptp_port_ds:

Comment on lines 23 to 24
priority1 101
priority2 91
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
priority1 101
priority2 91
priority1: 101
priority2: 91

@PraneshRaagavS
Copy link
Author

Have addressed the Review comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants