Add File Synchronization for redundancy
- (A) release/models/system/openconfig-system-redundancy.yang
- Add OpenConfig model for file synchronization
- (M) release/models/system/openconfig-system.yang
This proposal introduces a set of models which represent files that synchronize between two controller cards or supervisors. Synced files can be specified as arbitrary files from within the system.
pyang output:
module: openconfig-system
+--rw system
+--rw redundancy
+--rw file-sync
+--rw files
+--rw file* [path]
+--rw path -> ../config/path
+--rw config
| +--rw path? string
+--ro state
+--ro path? string
+--ro status? enumeration
+--ro last-sync-time? oc-types:timeticks64
Reference:
- Arista
-
show redundancy file-replication- https://www.arista.com/en/um-eos/eos-switch-booting-commands#xx1122125
-
file-replicationconfiguration example
-
redundancy
file replication
path flash:/random-file
path flash:/another-file
- Cisco
rsync- https://www.cisco.com/c/en/us/td/docs/iosxr/cisco8000/system-management/73x/b-system-management-cg-8k-73x/m-synch-file-systems.html?dtid=osscdc000283#Cisco_Concept.dita_2134690f-1fa9-44a9-8ccb-b62836abaeff
- Juniper
commit synchronize- https://www.juniper.net/documentation/us/en/software/junos/cli/topics/topic-map/synchronising-routing-engines.html
Compatibility Report for commit 219ddea4d67066a706e65d7eea9247466129775c: ⛔ yanglint@SO 1.10.17
@rolandphung - can you elaborate on what files are candidates for synchronization here? Is it limited to configuration files, or would it include scripts, arbitrary files, etc. as well? The documentation seems to indicate this is limited to configuration files. https://www.arista.com/en/um-eos/eos-supervisor-redundancy?searchword=eos%20routing%20information%20protocol
@rolandphung - can you elaborate on what files are candidates for synchronization here? Is it limited to configuration files, or would it include scripts, arbitrary files, etc. as well? The documentation seems to indicate this is limited to configuration files. https://www.arista.com/en/um-eos/eos-supervisor-redundancy?searchword=eos%20routing%20information%20protocol
This feature is not limited to configuration files but scripts and arbitrary files as well. The configuration in Arista switches would look as follow:
redundancy
file replication
path flash:/random-file
path flash:/another-file
I've updated the original comment to reflect this.
@rgwilton @hellt for comment