Skip to content
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

libtai-ldc.so lacks client-signal-mapping-type support #18

Open
noguchiko opened this issue Nov 18, 2022 · 0 comments
Open

libtai-ldc.so lacks client-signal-mapping-type support #18

noguchiko opened this issue Nov 18, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@noguchiko
Copy link
Contributor

operational-mode configuration failed

I tried to configure an operational-mode of an optical channel on a CFP2-DCO device. But it failed.

What I seen

The configuration failed.

$ gnmic -a 192.168.10.37:51052 -u nil -p nil --insecure --timeout 30s set --update-path /openconfig-platform:components/component[name=och-transceiver-line-piu2-0]/config/name --update-value och-transceiver-line-piu2-0 --update-path /openconfig-platform:components/component[name=och-transceiver-line-piu2-0]/openconfig-terminal-device:optical-channel/config/operational-mode --update-value 400
target "192.168.10.37:51052" set request failed: target "192.168.10.37:51052" SetRequest failed: rpc error: code = Aborted desc = failed to apply changes. Apply changes to the repository failed: apply failed. unsupported attribute: client-signal-mapping-type, <class 'goldstone.north.gnmi.repo.repo.ApplyFailedError'>
Error: one or more requests failed

What I expected

The configuration succeeds.

Details

  • Box: Galileo Flex T (wtp-01-c1-00)
  • CFP2-DCO
    • mfg-name: LUMENTUM
    • part-no: LDC040-DO
    • software-version: 9.10

Logs

xlate-oc

DEBUG core change_cb l.122 | id: 1, event: change, changes: [ChangeCreated(/openconfig-platform:components/component[name='och-transceiver-line-piu2-0']: {'name': 'och-transceiver-line-piu2-0', 'config': {'name': 'och-transceiver-line-piu2-0'}, 'power-supply': {'config': {'enabled': True}}, 'optical-channel': {'config': {'operational-mode': 400}}}), ChangeCreated(/openconfig-platform:components/component[name='och-transceiver-line-piu2-0']/name: 'och-transceiver-line-piu2-0'), ChangeCreated(/openconfig-platform:components/component[name='och-transceiver-line-piu2-0']/config: {'name': 'och-transceiver-line-piu2-0'}), ChangeCreated(/openconfig-platform:components/component[name='och-transceiver-line-piu2-0']/config/name: 'och-transceiver-line-piu2-0'), ChangeCreated(/openconfig-platform:components/component[name='och-transceiver-line-piu2-0']/power-supply: {'config': {'enabled': True}}), ChangeCreated(/openconfig-platform:components/component[name='och-transceiver-line-piu2-0']/power-supply/config: {'enabled': True}), ChangeCreated(/openconfig-platform:components/component[name='och-transceiver-line-piu2-0']/power-supply/config/openconfig-platform-psu:enabled: True), ChangeCreated(/openconfig-platform:components/component[name='och-transceiver-line-piu2-0']/openconfig-terminal-device:optical-channel: {'config': {'operational-mode': 400}}), ChangeCreated(/openconfig-platform:components/component[name='och-transceiver-line-piu2-0']/openconfig-terminal-device:optical-channel/config: {'operational-mode': 400}), ChangeCreated(/openconfig-platform:components/component[name='och-transceiver-line-piu2-0']/openconfig-terminal-device:optical-channel/config/operational-mode: 400)]
DEBUG sysrepo get l.71 | xpath: /goldstone-transponder:modules/module[name='piu2']/network-interface[name='0'], ds: running, not found. returning None
INFO lib validate l.142 | Given service value: 400
DEBUG lib validate l.146 | Validated Goldstone value: ('400g', 'dp-16-qam', 'ofec', 'flexo-lr')
DEBUG sysrepo get l.71 | xpath: /goldstone-transponder:modules/module[name='piu2'], ds: running, not found. returning None
DEBUG sysrepo get l.71 | xpath: /goldstone-transponder:modules/module[name='piu2']/network-interface[name='0'], ds: running, not found. returning None
ERROR lib post l.307 | Failed to apply changes. unsupported attribute: client-signal-mapping-type

xlate-oc received an unsupported attribute: client-signal-mapping-type error.

south-tai

DEBUG core change_cb l.122 | id: 1, event: change, changes: [ChangeCreated(/goldstone-transponder:modules/module[name='piu2']: {'name': 'piu2', 'config': {'name': 'piu2'}, 'network-interface': [{'name': '0', 'config': {'name': '0', 'line-rate': '400g', 'modulation-format': 'dp-16-qam', 'fec-type': 'ofec', 'client-signal-mapping-type': 'flexo-lr'}}]}), ChangeCreated(/goldstone-transponder:modules/module[name='piu2']/name: 'piu2'), ChangeCreated(/goldstone-transponder:modules/module[name='piu2']/config: {'name': 'piu2'}), ChangeCreated(/goldstone-transponder:modules/module[name='piu2']/config/name: 'piu2'), ChangeCreated(/goldstone-transponder:modules/module[name='piu2']/network-interface[name='0']: {'name': '0', 'config': {'name': '0', 'line-rate': '400g', 'modulation-format': 'dp-16-qam', 'fec-type': 'ofec', 'client-signal-mapping-type': 'flexo-lr'}}), ChangeCreated(/goldstone-transponder:modules/module[name='piu2']/network-interface[name='0']/name: '0'), ChangeCreated(/goldstone-transponder:modules/module[name='piu2']/network-interface[name='0']/config: {'name': '0', 'line-rate': '400g', 'modulation-format': 'dp-16-qam', 'fec-type': 'ofec', 'client-signal-mapping-type': 'flexo-lr'}), ChangeCreated(/goldstone-transponder:modules/module[name='piu2']/network-interface[name='0']/config/name: '0'), ChangeCreated(/goldstone-transponder:modules/module[name='piu2']/network-interface[name='0']/config/line-rate: '400g'), ChangeCreated(/goldstone-transponder:modules/module[name='piu2']/network-interface[name='0']/config/modulation-format: 'dp-16-qam'), ChangeCreated(/goldstone-transponder:modules/module[name='piu2']/network-interface[name='0']/config/fec-type: 'ofec'), ChangeCreated(/goldstone-transponder:modules/module[name='piu2']/network-interface[name='0']/config/client-signal-mapping-type: 'flexo-lr')]
DEBUG transponder get_module_from_xpath l.677 | xpath: [('goldstone-transponder', 'modules', []), (None, 'module', [('name', 'piu2')]), (None, 'config', [])]
INFO transponder _init l.123 | obj: <taish.Module object at 0xffff9c5350f0>, xpath: [(None, 'config', [])]
DEBUG transponder get_module_from_xpath l.677 | xpath: [('goldstone-transponder', 'modules', []), (None, 'module', [('name', 'piu2')]), (None, 'config', []), (None, 'name', [])]
INFO transponder _init l.123 | obj: <taish.Module object at 0xffff9c5391b0>, xpath: [(None, 'config', []), (None, 'name', [])]
DEBUG transponder get_module_from_xpath l.677 | xpath: [('goldstone-transponder', 'modules', []), (None, 'module', [('name', 'piu2')]), (None, 'network-interface', [('name', '0')]), (None, 'config', [])]
DEBUG transponder get_module_from_xpath l.677 | xpath: [('goldstone-transponder', 'modules', []), (None, 'module', [('name', 'piu2')]), (None, 'network-interface', [('name', '0')]), (None, 'config', []), (None, 'name', [])]
DEBUG transponder get_module_from_xpath l.677 | xpath: [('goldstone-transponder', 'modules', []), (None, 'module', [('name', 'piu2')]), (None, 'network-interface', [('name', '0')]), (None, 'config', []), (None, 'line-rate', [])]
INFO transponder validate l.65 | cap: attr_id: 9
default_value: "400g"
supportedvalues: "100g"
supportedvalues: "200g"
supportedvalues: "300g"
supportedvalues: "400g"

DEBUG sysrepo get l.88 | xpath: /goldstone-transponder:modules, ds: running, value: {}
DEBUG transponder get_module_from_xpath l.677 | xpath: [('goldstone-transponder', 'modules', []), (None, 'module', [('name', 'piu2')]), (None, 'network-interface', [('name', '0')]), (None, 'config', []), (None, 'modulation-format', [])]
INFO transponder validate l.65 | cap: attr_id: 10
default_value: "dp-16-qam"
supportedvalues: "dp-qpsk"
supportedvalues: "dp-8-qam"
supportedvalues: "dp-16-qam"

DEBUG transponder get_module_from_xpath l.677 | xpath: [('goldstone-transponder', 'modules', []), (None, 'module', [('name', 'piu2')]), (None, 'network-interface', [('name', '0')]), (None, 'config', []), (None, 'fec-type', [])]
INFO transponder validate l.65 | cap: attr_id: 11
default_value: "ofec"
supportedvalues: "sc-fec"
supportedvalues: "cfec"
supportedvalues: "ofec"
supportedvalues: "hg-fec"

DEBUG transponder get_module_from_xpath l.677 | xpath: [('goldstone-transponder', 'modules', []), (None, 'module', [('name', 'piu2')]), (None, 'network-interface', [('name', '0')]), (None, 'config', []), (None, 'client-signal-mapping-type', [])]

It seems there are no supported values for the attribute client-signal-mapping-type.

Others

This issue is from oopt-goldstone/goldstone-mgmt#67.

@ishidawataru ishidawataru self-assigned this Nov 24, 2022
@ishidawataru ishidawataru added the enhancement New feature or request label Nov 24, 2022
@ishidawataru ishidawataru changed the title operational-mode configuration failed libtai-ldc.so lacks client-signal-mapping-type support Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants