Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-4985

[PCE_CLI]pce-update-path is not working for -bandwidth option

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: None
    • Labels:
      None

      Description

      onos> pce-query-path

      path-id : 33
      source : IpTunnelEndPoint

      {ip=130.130.130.1}
      destination : IpTunnelEndPoint{ip=130.130.130.6}
      path-type : MPLS
      symbolic-path-name : aaaaaaaaa
      constraints:
      cost : TE_COST
      bandwidth : 0.0

      path-id : 27
      source : IpTunnelEndPoint{ip=130.130.130.1}


      destination : IpTunnelEndPoint

      {ip=130.130.130.6}
      path-type : MPLS
      symbolic-path-name : aa
      constraints:
      cost : TE_COST
      bandwidth : 0.0

      path-id : 31
      source : IpTunnelEndPoint{ip=130.130.130.1}
      destination : IpTunnelEndPoint{ip=130.130.130.6}


      path-type : MPLS
      symbolic-path-name : aaa
      constraints:
      cost : TE_COST
      bandwidth : 0.0

      path-id : 35
      source : IpTunnelEndPoint

      {ip=130.130.130.1}
      destination : IpTunnelEndPoint{ip=130.130.130.6}
      path-type : MPLS
      symbolic-path-name : aaaaaaaa
      constraints:
      cost : TE_COST
      bandwidth : 0.0

      path-id : 34
      source : IpTunnelEndPoint{ip=130.130.130.1}


      destination : IpTunnelEndPoint

      {ip=130.130.130.6}
      path-type : MPLS
      symbolic-path-name : aaaaa
      constraints:
      cost : TE_COST
      bandwidth : 0.0

      path-id : 32
      source : IpTunnelEndPoint{ip=130.130.130.1}
      destination : IpTunnelEndPoint{ip=130.130.130.6}


      path-type : MPLS
      symbolic-path-name : aaaa
      constraints:
      cost : TE_COST
      bandwidth : 0.0

      path-id : 25
      source : IpTunnelEndPoint

      {ip=130.130.130.1}
      destination : IpTunnelEndPoint{ip=130.130.130.6}
      path-type : MPLS
      symbolic-path-name : aaaaaaaa
      constraints:
      cost : TE_COST
      bandwidth : 0.0

      path-id : 30
      source : IpTunnelEndPoint{ip=130.130.130.1}


      destination : IpTunnelEndPoint

      {ip=130.130.130.6}
      path-type : MPLS
      symbolic-path-name : a
      constraints:
      cost : TE_COST
      bandwidth : 0.0

      path-id : 28
      source : IpTunnelEndPoint{ip=130.130.130.1}
      destination : IpTunnelEndPoint{ip=130.130.130.6}


      path-type : MPLS
      symbolic-path-name : aaaaaaa
      constraints:
      cost : TE_COST
      bandwidth : 0.0

      path-id : 29
      source : IpTunnelEndPoint

      {ip=130.130.130.1}
      destination : IpTunnelEndPoint{ip=130.130.130.6}
      path-type : MPLS
      symbolic-path-name : aaaaaa
      constraints:
      cost : TE_COST
      bandwidth : 0.0

      path-id : 26
      source : IpTunnelEndPoint{ip=130.130.130.1}


      destination : IpTunnelEndPoint

      {ip=130.130.130.6}


      path-type : MPLS
      symbolic-path-name : aaaaaaaaaa
      constraints:
      cost : TE_COST
      bandwidth : 0.0
      onos> pce-update-path -b 1000 26
      The cost attribute value is either IGP cost(1) or TE cost(2).
      onos> pce-update-path
      Error executing command onos:pce-update-path: argument id is required
      onos> pce-update-path --help
      DESCRIPTION
      onos:pce-update-path

      Supports updating PCE path.

      SYNTAX
      onos:pce-update-path [options] id

      ARGUMENTS
      id
      Path Id.

      OPTIONS
      -j, --json
      Output JSON
      --help
      Display this help message
      -c, --cost
      The cost attribute IGP cost (1) or TE cost (2).
      -b, --bandwidth
      The bandwidth attribute of path. Data rate unit is in Bps.

      onos> pce-update-path -b 10000 30
      The cost attribute value is either IGP cost(1) or TE cost(2).
      onos>
      onos>
      onos>
      onos> pce-update-path --help
      DESCRIPTION
      onos:pce-update-path

      Supports updating PCE path.

      SYNTAX
      onos:pce-update-path [options] id

      ARGUMENTS
      id
      Path Id.

      OPTIONS
      -j, --json
      Output JSON
      --help
      Display this help message
      -c, --cost
      The cost attribute IGP cost (1) or TE cost (2).
      -b, --bandwidth
      The bandwidth attribute of path. Data rate unit is in Bps.

      onos> pce-update-path -b 10000 34
      The cost attribute value is either IGP cost(1) or TE cost(2).
      onos> pce-update-path -b 10000 -c 2 34
      onos> pce-update-path -b 10000 -c 1 34
      onos>
      onos>
      onos> pce-update-path -b 10000 -c 3 34
      The cost attribute value is either IGP cost(1) or TE cost(2).
      onos>
      onos>
      onos>

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            PriyankaB Priyanka B
            Reporter:
            saravanaonos Saravanakumar S
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: