Skip to content

Commit

Permalink
bevo2 configs
Browse files Browse the repository at this point in the history
  • Loading branch information
jnunyez committed Feb 13, 2024
1 parent 4d21541 commit e8bed55
Show file tree
Hide file tree
Showing 3 changed files with 443 additions and 12 deletions.
316 changes: 304 additions & 12 deletions clusters/ztp-policies/common/group-policies/group-dellr750-vse6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ spec:
group-dellr750-vse6: ""
mcp: "master"
sourceFiles:
# Install FEC operator as part of DU
- fileName: AcceleratorsNS.yaml
policyName: "subscription-policy"
- fileName: AcceleratorsOperGroup.yaml
policyName: "subscription-policy"
- fileName: AcceleratorsOperatorStatus.yaml
policyName: "subscription-policy"
- fileName: AcceleratorsSubscription.yaml
policyName: "subscription-policy"

- fileName: ClusterLogging.yaml
policyName: "config-policy"

Expand All @@ -31,18 +41,35 @@ spec:
# daemonNodeSelector:
# node-role.kubernetes.io/worker: ""
# ptpEventConfig:
# storageType: "storage-class-http-events"
- fileName: PtpConfigSlave.yaml # Change to PtpConfigSlaveCvl.yaml for ColumbiaVille NIC
policyName: "config-policy"
metadata:
name: "du-ptp-slave"
- fileName: SriovFecClusterConfig.yaml
policyName: "fec-policy"
spec:
profile:
- name: "slave"
# This interface must match the hardware in this group
interface: "ens7f1"
ptp4lOpts: "-2 -s --summary_interval -4"
phc2sysOpts: "-a -r -n 24"
drainSkip: true
acceleratorSelector:
pciAddress: 0000:ca:00.0
physicalFunction:
bbDevConfig:
acc100:
# Programming mode: 0 = VF Programming, 1 = PF Programming
pfMode: false
numVfBundles: 3
maxQueueSize: 1024
uplink4G:
numQueueGroups: 2
numAqsPerGroups: 16
aqDepthLog2: 4
downlink4G:
numQueueGroups: 2
numAqsPerGroups: 16
aqDepthLog2: 4
uplink5G:
numQueueGroups: 2
numAqsPerGroups: 16
aqDepthLog2: 4
downlink5G:
numQueueGroups: 2
numAqsPerGroups: 16
aqDepthLog2: 4
- fileName: SriovOperatorConfig.yaml
policyName: "config-policy"
# For existing clusters with node selector set as "master",
Expand All @@ -53,6 +80,81 @@ spec:
spec:
configDaemonNodeSelector:
node-role.kubernetes.io/worker: ""
- fileName: SriovNetworkNodePolicy.yaml
policyName: "config-policy"
metadata:
name: intel-sriov-vfio-ens5f1
spec:
deviceType: vfio-pci
mtu: 9216
isRdma: false
nicselector:
pfNames:
- ens5f1#2-3
vendor: "8086"
numVfs: 4
priority: 99
resourceName: "intel-sriov-vfio-ens5f1"
- fileName: SriovNetworkNodePolicy.yaml
policyName: "config-policy"
metadata:
name: intel-sriov-netd-ens5f1
spec:
deviceType: netdevice
mtu: 9216
isRdma: false
nicselector:
pfNames:
- ens5f1#0-1
vendor: "8086"
numVfs: 4
priority: 99
resourceName: "intel-sriov-vfio-ens5f1"
- fileName: SriovNetworkNodePolicy.yaml
policyName: "config-policy"
metadata:
name: intel-sriov-vfio-ens5f0
spec:
deviceType: vfio-pci
mtu: 9216
isRdma: false
nicselector:
pfNames:
- ens5f0#0-0
vendor: "8086"
numVfs: 2
priority: 99
resourceName: intel-sriov-vfio-ens5f0
- fileName: SriovNetworkNodePolicy.yaml
policyName: "config-policy"
metadata:
name: intel-sriov-netd-ens2f0
spec:
deviceType: vfio-pci
mtu: 9216
isRdma: false
nicselector:
pfNames:
- ens2f0#0-2
vendor: "8086"
numVfs: 8
priority: 99
resourceName: intel-sriov-netd-ens2f0
- fileName: SriovNetworkNodePolicy
policyName: "config-policy"
metadata:
name: intel-sriov-netd-ens2f0
spec:
deviceType: netdevice
mtu: 9216
isRdma: false
nicselector:
pfNames:
- ens2f0#3-6
vendor: "8086"
numVfs: 8
priority: 99
resourceName: intel-sriov-netd-ens2f0
# - fileName: StorageLV.yaml
# policyName: "config-policy"
# spec:
Expand Down Expand Up @@ -127,7 +229,197 @@ spec:
# # transportHost: "http://hw-event-publisher-service.openshift-bare-metal-events.svc.cluster.local:9043"
# # storageType: "storage-class-http-events"
# logLevel: "debug"
#
- fileName: PtpConfigGmWpc.yaml
policyName: "config-policy"
spec:
profile:
- name: "grandmaster"
phc2sysOpts: -r -u 0 -m -O -37 -N 8 -R 16 -s ens5f0 -n 24
plugins:
e810:
enableDefaultConfig: true
settings:
LocalMaxHoldoverOffSet: 1500
LocalHoldoverTimeout: 14400
MaxInSpecOffset: 100
ublxCmds:
- args: #ubxtool -P 29.20 -z CFG-HW-ANT_CFG_VOLTCTRL,1
- "-P"
- "29.20"
- "-z"
- "CFG-HW-ANT_CFG_VOLTCTRL,1"
reportOutput: false
- args: #ubxtool -P 29.20 -e GPS
- "-P"
- "29.20"
- "-e"
- "GPS"
reportOutput: false
- args: #ubxtool -P 29.20 -d Galileo
- "-P"
- "29.20"
- "-d"
- "Galileo"
reportOutput: false
- args: #ubxtool -P 29.20 -d GLONASS
- "-P"
- "29.20"
- "-d"
- "GLONASS"
reportOutput: false
- args: #ubxtool -P 29.20 -d BeiDou
- "-P"
- "29.20"
- "-d"
- "BeiDou"
reportOutput: false
- args: #ubxtool -P 29.20 -d SBAS
- "-P"
- "29.20"
- "-d"
- "SBAS"
reportOutput: false
- args: #ubxtool -P 29.20 -t -w 5 -v 1 -e SURVEYIN,600,50000
- "-P"
- "29.20"
- "-t"
- "-w"
- "5"
- "-v"
- "1"
- "-e"
- "SURVEYIN,600,50000"
reportOutput: true
- args: #ubxtool -P 29.20 -p MON-HW
- "-P"
- "29.20"
- "-p"
- "MON-HW"
reportOutput: true
ptp4lConf: |
[ens5f0]
masterOnly 1
[global]
#
# Default Data Set
#
twoStepFlag 1
slaveOnly 0
priority1 128
priority2 128
domainNumber 24
#utc_offset 37
clockClass 248
clockAccuracy 0xFE
offsetScaledLogVariance 0xFFFF
free_running 0
freq_est_interval 1
dscp_event 0
dscp_general 0
#dataset_comparison ieee1588
dataset_comparison G.8275.x
G.8275.defaultDS.localPriority 128
#
# Port Data Set
#
logAnnounceInterval -3
logSyncInterval -4
logMinDelayReqInterval -4
logMinPdelayReqInterval -4
announceReceiptTimeout 3
syncReceiptTimeout 0
delayAsymmetry 0
fault_reset_interval 4
neighborPropDelayThresh 20000000
masterOnly 1
G.8275.portDS.localPriority 128
#
# Run time options
#
assume_two_step 0
logging_level 6
path_trace_enabled 0
follow_up_info 0
hybrid_e2e 0
inhibit_multicast_service 0
net_sync_monitor 0
tc_spanning_tree 0
tx_timestamp_timeout 50
unicast_listen 0
unicast_master_table 0
unicast_req_duration 3600
use_syslog 1
verbose 1
summary_interval 0
kernel_leap 1
check_fup_sync 0
#
# Servo Options
#
pi_proportional_const 0.0
pi_integral_const 0.0
pi_proportional_scale 0.0
pi_proportional_exponent -0.3
pi_proportional_norm_max 0.7
pi_integral_scale 0.0
pi_integral_exponent 0.4
pi_integral_norm_max 0.3
step_threshold 0.0
first_step_threshold 0.00002
max_frequency 900000000
#clock_servo pi
clock_servo linreg
sanity_freq_limit 200000000
ntpshm_segment 0
#
# Transport options
#
transportSpecific 0x0
ptp_dst_mac 01:1B:19:00:00:00
p2p_dst_mac 01:80:C2:00:00:0E
udp_ttl 1
udp6_scope 0x0E
uds_address /var/run/ptp4l
#
# Default interface options
#
clock_type OC
network_transport L2
delay_mechanism E2E
time_stamping hardware
tsproc_mode filter
delay_filter moving_median
delay_filter_length 10
egressLatency 0
ingressLatency 0
boundary_clock_jbod 0
#
# Clock description
#
productDescription ;;
revisionData ;;
manufacturerIdentity 00:00:00
userDescription ;
timeSource 0xA0
ptpSettings:
logReduce: "false"
ts2phcConf: |
[nmea]
ts2phc.master 1
[global]
use_syslog 0
verbose 1
logging_level 7
ts2phc.pulsewidth 100000000
#GNSS module s /dev/ttyGNSS* -al use _0
#cat /dev/ttyGNSS_1700_0 to find available serial port
#example value of gnss_serialport is /dev/ttyGNSS_1700_0
ts2phc.nmea_serialport /dev/gnss0
leapfile /usr/share/zoneinfo/leap-seconds.list
[ens5f0]
ts2phc.extts_polarity rising
ts2phc.extts_correction 0
ts2phcOpts: "-m"
# These CRs are to enable crun on master and worker nodes for 4.13+ only
#
# Include these CRs in the group PGT instead of the common PGT to make sure
Expand Down
Loading

0 comments on commit e8bed55

Please sign in to comment.