Skip to content

Commit

Permalink
Revert "More Changes"
Browse files Browse the repository at this point in the history
This reverts commit cfdf077.
  • Loading branch information
abdosi committed Oct 22, 2024
1 parent f95a254 commit 657ee2f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44009,7 +44009,7 @@
<a:DeviceProperty>
<a:Name>MacSecEnabled</a:Name>
<a:Reference i:nil="true" />
<a:Value>False</a:Value>
<a:Value>True</a:Value>
</a:DeviceProperty>
<a:DeviceProperty>
<a:Name>OsVersion</a:Name>
Expand Down Expand Up @@ -48335,4 +48335,4 @@
<HwSku>Sonic-400g-lc-sku</HwSku>
<Version>1.0.1388.35297&#xD;
</Version>
</DeviceMiniGraph>
</DeviceMiniGraph>
9 changes: 3 additions & 6 deletions src/sonic-config-engine/tests/test_chassis_cfggen.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,7 @@ def test_device_metadata(self):
'switch_type': 'voq',
'switch_id': 20,
'max_cores': 64,
'slice_type': 'AZNG_Production',
'sub_type': 'UpstreamLC'})
'slice_type': 'AZNG_Production'})

def test_port(self):
argument = ['-m', self.sample_graph, '-p',
Expand Down Expand Up @@ -446,8 +445,7 @@ def test_device_metadata(self):
'deployment_id': '3',
'cluster': 'TestbedForstr-sonic',
'switch_type': 'voq',
'max_cores': 64,
'sub_type': 'DownstreamLC'})
'max_cores': 64})

def test_device_metadata_for_namespace(self):
argument = [
Expand Down Expand Up @@ -924,8 +922,7 @@ def test_device_metadata(self):
"cluster": "TestbedForstr-sonic",
"switch_type": "fabric",
"sub_role": "fabric",
"max_cores": 64,
"sub_type": "Supervisor"
"max_cores": 64
}
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@
}
}
},
"DEVICE_METADATA_VALID_SUBTYPE0": {
"DEVICE_METADATA_VALID_SUBTYPE": {
"sonic-device_metadata:sonic-device_metadata": {
"sonic-device_metadata:DEVICE_METADATA": {
"sonic-device_metadata:localhost": {
Expand All @@ -265,33 +265,6 @@
}
}
},
"DEVICE_METADATA_VALID_SUBTYPE1": {
"sonic-device_metadata:sonic-device_metadata": {
"sonic-device_metadata:DEVICE_METADATA": {
"sonic-device_metadata:localhost": {
"subtype": "Supervisor"
}
}
}
},
"DEVICE_METADATA_VALID_SUBTYPE2": {
"sonic-device_metadata:sonic-device_metadata": {
"sonic-device_metadata:DEVICE_METADATA": {
"sonic-device_metadata:localhost": {
"subtype": "UpstreamLC"
}
}
}
},
"DEVICE_METADATA_VALID_SUBTYPE3": {
"sonic-device_metadata:sonic-device_metadata": {
"sonic-device_metadata:DEVICE_METADATA": {
"sonic-device_metadata:localhost": {
"subtype": "DownstreamLC"
}
}
}
},
"DEVICE_METADATA_INVALID_SUBTYPE": {
"sonic-device_metadata:sonic-device_metadata": {
"sonic-device_metadata:DEVICE_METADATA": {
Expand Down

0 comments on commit 657ee2f

Please sign in to comment.