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

data model is missing "pce / disjoint-path / group-id (srlg-node) / lsp (1&2)" #217

Open
aseaudi opened this issue Aug 2, 2017 · 0 comments

Comments

@aseaudi
Copy link

aseaudi commented Aug 2, 2017

Cisco IOS XRv 6.2.1 yang data model “Cisco-IOS-XR-infra-xtc-cfg.yang” does not list the SRLG-NODE disjointness type, and it does not list the LSPs under each group.

  container disjoint-path {
     description "Disjoint path configuration";
     container groups {                 <<<<<<<< the container “groups” only has 3 leaves: group-id, dp-type, and sub-id. It does not list the LSPs under each group
       description "Association configuration";
       list group {
         key "group-id dp-type sub-id";
         description "Association Group Configuration";
         leaf strict {
           type empty;
           description "Disable Fallback";
         }
         leaf group-id {
           type uint32 {
             range "1..65535";
           }
           description "Group ID";
         }
         leaf dp-type {
           type Pce-disjoint-path;               <<<<<<<<  see type definition below: it lists only LINK or NODE or SRLG, but not SRLG-NODE
           description "Disjoiness type";
         }
         leaf sub-id {
           type uint32 {
             range "0..65535";
           }
           description "Sub group ID, 0 to unset";
         }

 typedef Pce-disjoint-path {
   type enumeration {
     enum link {
       value 1;
       description "Link";
     }
     enum node {
       value 2;
       description "Node";
     }
     enum srlg {
       value 3;
       description "SRLG";
     }
   }
   description "Pce disjoint path";
 }


Here's the CLI Config on the IOS XR:
pce
disjoint-path
group-id 10 type srlg-node
lsp 1 pcc ipv4 1.1.1.1 lsp-name CUST-ABC-LSP-R1-R2-GRP10-SRLGNODE
lsp 2 pcc ipv4 4.4.4.4 lsp-name CUST-ABC-LSP-R4-R5-GRP10-SRLGNODE
!
group-id 14 type srlg
lsp 1 pcc ipv4 1.1.1.1 lsp-name CUST-ABC-LSP-R1-R2-GRP14-SRLG
lsp 2 pcc ipv4 4.4.4.4 lsp-name CUST-ABC-LSP-R4-R5-GRP14-SRLG
!
group-id 15 type link
lsp 1 pcc ipv4 1.1.1.1 lsp-name CUST-ABC-LSP-R1-R2-GRP15-LINK
lsp 2 pcc ipv4 4.4.4.4 lsp-name CUST-ABC-LSP-R4-R5-GRP15-LINK
!
group-id 16 type node
lsp 1 pcc ipv4 1.1.1.1 lsp-name CUST-ABC-LSP-R1-R2-GRP16-NODE
lsp 2 pcc ipv4 4.4.4.4 lsp-name CUST-ABC-LSP-R4-R5-GRP16-NODE


And, if I try to get the config via NETCONF:

<?xml version="1.0" encoding="utf-8"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="21">
  <get-config>
    <source>
      <running/>
    </source>
    <filter type="subtree">
      <pce xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-cfg">
        <disjoint-path/>
      </pce>
    </filter>
  </get-config>
</rpc>

NETCONF gives me only the following:

<?xml version="1.0" encoding="utf-8"?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="21">
  <data>
    <pce xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-cfg">
      <disjoint-path>
        <groups>
          <group>
            <group-id>14</group-id>
            <dp-type>srlg</dp-type>
            <sub-id>0</sub-id>
          </group>
          <group>
            <group-id>15</group-id>
            <dp-type>link</dp-type>
            <sub-id>0</sub-id>
          </group>
          <group>
            <group-id>16</group-id>
            <dp-type>node</dp-type>
            <sub-id>0</sub-id>
          </group>
        </groups>
      </disjoint-path>
    </pce>
  </data>
</rpc-reply>

@aseaudi aseaudi changed the title data model is missing pce / disjoint-path / group-id (srlg-node) / lsp (1&2) data model is missing "pce / disjoint-path / group-id (srlg-node) / lsp (1&2)" Aug 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant