Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Remote Peer Configuration

Expected Behavior

  • A peer can be added by specifying a list of NIDs
    • The first NID shall be used as the primary NID. The rest of the NIDs will be added under the primary NID
  • A peer can be added by explicitly specifying the key NID, and then by adding a set of other NIDs, all done through one API call
  • If a key NID already exists, but it's not an MR NI, then adding that Key NID from DLC shall convert that NI to an MR NI
  • If a key NID already exists, and it is an MR NI, then re-adding the Key NID shall have no effect
  • if a Key NID already exists as part of another peer, then adding that NID as part of another peer shall fail
  • if a NID is being added to a peer NI and that NID is a non-MR, then that NID is moved under the peer and is made to be MR capable
  • if a NID is being added to a peer and that NID is an MR NID and part of another peer, then the operation shall fail
  • if a NID is being added to a peer and it is already part of that Peer then the operation is a no-op.

In-Range UT

Primary Requirement IDSecondary Requirement IDUnit Test IDUnit Test Description
cfg-070 UT-0115
  • add a new peer with only 1 NID
cfg-070 UT-0120
  • add a new peer with only 1 NID
  • add more nids to that peer
cfg-070 UT-0125
  • add a new peer with mulitple NIDs
cfg-070 UT-0130
  • add a new peer with only 1 NID
  • Delete that NID
cfg-070 UT-0131
  • add a new peer with multiple NIDs
  • delete the primary NI of the peer
  • The entire peer should be deleted.
cfg-070 UT-0135
  • add a new peer with multiple NIDs
  • Delete each NID one at a time until the peer is removed
cfg-070 UT-0140
  • add a new peer with multiple NIDs
  • Delete all NIDs but primary NID only.
  • Re-add multiple NIDs one at a time.
cfg-070 UT-0145
  • add a new peer with multiple NIDs
  • Delete all NIDs but one.
  • Re-add multiple NIDs in one shot.
cfg-075 UT-0150
  • add a new peer with multiple NIDs on different networks

...