Skip to content

Output of breeze kvstore nodes is broken #14

Closed

Description

@tamihiro

Issue Description

Breeze CLI returns nodes information in KvStore, but the output is pretty much broken.

Environment

  • latest commit 54566cc
  • OS version: ubuntu-16.04

Minimal test code / Steps to reproduce the issue

  1. Follow build instruction and install OpenR.
  2. Configure and run OpenR.
    sudo run_openr.sh
  3. Execute command.
    breeze kvstore nodes

What's the actual result?

                                                                                                                                                                                                                                                                                                                                                                                                                 Node    V6-Loopback    V4-Loopback
---------------  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  ------  -------------  -------------
* ubuntu-opnr-1  P   r   e   f   i   x                                               T   y   p   e       -   -   -   -   -   -   -   -   -   -   -   -   -   -   -           -   -   -   -   -   -   -   -        1   0  .    0  .    0  .    1  /    3   2                          L   O   O   P   B   A   C   K        2   0   0   1  :   d   b    8  :   :    1  /    1   2   8          L   O   O   P   B   A       C              K
> ubuntu-opnr-2  P   r   e   f   i   x                                               T   y   p   e       -   -   -   -   -   -   -   -   -   -   -   -   -   -   -           -   -   -   -   -   -   -   -        1   0  .    0  .    0  .    2  /    3   2                          L   O   O   P   B   A   C   K        2   0   0   1  :   d   b    8  :   :    2  /    1   2   8          L   O   O   P   B   A       C              K
> ubuntu-opnr-3  P   r   e   f   i   x                                               T   y   p   e       -   -   -   -   -   -   -   -   -   -   -   -   -   -   -           -   -   -   -   -   -   -   -        1   0  .    0  .    0  .    3  /    3   2                          L   O   O   P   B   A   C   K        2   0   0   1  :   d   b    8  :   :    3  /    1   2   8          L   O   O   P   B   A       C              K

What's the expected result?

Node             V6-Loopback      V4-Loopback
---------------  ---------------  -------------
* ubuntu-opnr-1  2001:db8::1/128  10.0.0.1/32
> ubuntu-opnr-2  2001:db8::2/128  10.0.0.2/32
> ubuntu-opnr-3  2001:db8::3/128  10.0.0.3/32

Solution suggested

Pull request #12

Activity

  1. saifhhasan commented on Dec 4, 2017

    @saifhhasan
    Contributor

    Thanks @tamihiro for updating request, it is much clear now that what was broken and how it is fixed. I am initiating pull, once it passes all tests in our internal CI build, it will automatically get pushed to Github and will be closed.

    Cheers,
    Saif

  2. tamihiro commented on Dec 5, 2017

    @tamihiro
    ContributorAuthor

    Thanks @saifhhasan for the follow up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions