Uploaded image for project: 'honeycomb'
  1. honeycomb
  2. HONEYCOMB-271

PBB operational data returns empty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 17.01
    • None
    • HC VPP plugin
    • None

      When I add pbb-rewrite to interface:
      PUT /restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/pbb-rewrite
      {"pbb-rewrite": {"i-tag-isid": "12", "interface-operation": "pop-2", "destination-address": "bb:bb:bb:bb:bb:bc", "b-vlan-tag-vlan-id": "2223", "source-address": "aa:aa:aa:aa:aa:ab"}}

      and then try to read oper data:
      GET /restconf/operational/ietf-interfaces:interfaces-state
      ...there is no pbb-rewrite container present in any of the interfaces.

      The log says:
      FlatWriterRegistry - Update successful for: ... ... interfaces._interface.PbbRewrite
      dataBefore=null, dataAfter=PbbRewrite{getBVlanTagVlanId=2223, getDestinationAddress=MacAddress [_value=bb:bb:bb:bb:bb:bc], getITagIsid=12, getInterfaceOperation=Pop2, getSourceAddress=MacAddress [_value=aa:aa:aa:aa:aa:ab], augmentations={}}}]}, deletes={}}
      ...
      ...
      [PbbRewriteState]: Current node read successfully. Result: Optional.absent()
      [PbbRewriteStateInterfaceAugmentation]: Current node read successfully. Result: Optional.absent()

            Unassigned Unassigned
            selias Samuel Eliáš
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: