-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cfgen: config override for edge hosts
Summary: same as title Reviewed By: anps77 Differential Revision: D58466056 fbshipit-source-id: 38276d0fc93d7e0bcbf6f56f5dd8426f42a1392d
- Loading branch information
1 parent
a315d60
commit 35a3527
Showing
18 changed files
with
1,104 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,9 @@ pub enum HostType { | |
Tw, | ||
Synmon, | ||
Dns, | ||
FnEdge, | ||
GEdge, | ||
Fna, | ||
} | ||
|
||
pub struct ConfigParams { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,148 @@ | ||
@generated SignedSource<<77a12826ffacd49093dab7d916d4ce1c>> | ||
@codegen-command arc cfgen update-inputs fb-oomd | ||
{ | ||
"fqdn": "fna007.01.futp1.facebook.com", | ||
"region": "other", | ||
"clusterType": "FNA", | ||
"modelId": 342361, | ||
"kernelRelease": "5.19.0-0_fbk21_hardened_rc9_12630_gab30f3f5259a", | ||
"serverType": "TYPE_VI_FEED", | ||
"experiments": [], | ||
"cpuArchitecture": "icelake", | ||
"metalosRootfs": false, | ||
"provisioningConfig": { | ||
"ethtoolByInterface": { | ||
"eth0": { | ||
"maxChannelsCombined": 63 | ||
}, | ||
"ip6tnl0": {}, | ||
"tunl0": {}, | ||
"tunlany0": {} | ||
}, | ||
"cpuCoreCount": 48, | ||
"parentModelId": 328972, | ||
"recoveryEnvironment": false, | ||
"deviceType": "SERVER", | ||
"datacenter": "futp1", | ||
"cluster": "01", | ||
"memTotal": 265750892544, | ||
"osVersion": { | ||
"distribution_name": "EdgeOS", | ||
"version": 1708953544, | ||
"is_in_ramdisk": false, | ||
"is_metalos": false | ||
}, | ||
"pciByAddress": { | ||
"0000:47:00.0": { | ||
"vendor_id": 5555, | ||
"device_id": 4125, | ||
"class_code": 131072, | ||
"board_part_number": "MCX623435AC-CDAI", | ||
"current_speed_mts": 16000, | ||
"current_width": 16 | ||
} | ||
}, | ||
"static_smc_tiers": [], | ||
"machine": "x86_64" | ||
}, | ||
"bootConfig": { | ||
"ethtoolByInterface": { | ||
"eth0": { | ||
"driver": "mlx5_core", | ||
"driver_version": "5.19.0-0_fbk21_hardened_rc9_126", | ||
"firmware_version": "22.34.4000 (MT_0000000695)", | ||
"bus_info": "0000:47:00.0", | ||
"speed_mbps": 100000 | ||
}, | ||
"ip6tnl0": { | ||
"driver": "ip6tnl", | ||
"driver_version": "5.19.0-0_fbk21_hardened_rc9_126", | ||
"firmware_version": "", | ||
"bus_info": "", | ||
"speed_mbps": 0 | ||
}, | ||
"tunl0": { | ||
"driver": "ipip", | ||
"driver_version": "5.19.0-0_fbk21_hardened_rc9_126", | ||
"firmware_version": "", | ||
"bus_info": "", | ||
"speed_mbps": 0 | ||
}, | ||
"tunlany0": { | ||
"driver": "ip6tnl", | ||
"driver_version": "5.19.0-0_fbk21_hardened_rc9_126", | ||
"firmware_version": "", | ||
"bus_info": "", | ||
"speed_mbps": 0 | ||
} | ||
} | ||
}, | ||
"runtimeConfig": { | ||
"hasHighPrivCert": true, | ||
"regionRoutableCluster": "oth1.01", | ||
"block_devices": { | ||
"block_devices": { | ||
"nvme0n1": { | ||
"size_bytes": 3840755982336, | ||
"is_rotational": false, | ||
"model": "SAMSUNG MZQL23T8HCLS-00A07", | ||
"serial": "S64HNJ0T644493", | ||
"physical_block_size": 4096, | ||
"logical_block_size": 4096, | ||
"is_root": false | ||
}, | ||
"nvme1n1": { | ||
"size_bytes": 960197124096, | ||
"is_rotational": false, | ||
"model": "SAMSUNG MZQL2960HCJR-00A07", | ||
"serial": "S64FNE0T407240", | ||
"physical_block_size": 4096, | ||
"logical_block_size": 512, | ||
"is_root": true | ||
}, | ||
"nvme2n1": { | ||
"size_bytes": 3840755982336, | ||
"is_rotational": false, | ||
"model": "SAMSUNG MZQL23T8HCLS-00A07", | ||
"serial": "S64HNJ0T644491", | ||
"physical_block_size": 4096, | ||
"logical_block_size": 4096, | ||
"is_root": false | ||
} | ||
} | ||
}, | ||
"dynamic_smc_tiers": [], | ||
"cluster_state": "CLUSTER_IN_USE", | ||
"installed_platforms": [ | ||
"platform010", | ||
"platform010-compat" | ||
], | ||
"device_nics_enum": [ | ||
"ETH0", | ||
"SVC0" | ||
], | ||
"loaded_kernel_modules": [], | ||
"mounts": { | ||
"mounts": [ | ||
{ | ||
"device": "/dev/mapper/transient", | ||
"mount_point": "/", | ||
"fstype": "btrfs", | ||
"mount_options": [ | ||
"rw", | ||
"relatime", | ||
"compress-force=zstd:3", | ||
"ssd", | ||
"space_cache=v2", | ||
"subvolid=256", | ||
"subvol=/volume" | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
"reservationConfig": { | ||
"active_machine_materialization_id": "", | ||
"current_reservation_host_profile_id": "NEWLY_PROVISIONED_PROFILE" | ||
} | ||
} |
Oops, something went wrong.