Resolve "(TID) IETF_NETWORK NBI extension for IS-IS TE data"

Closes #379 (closed)

Merge request reports

Loading
+11 −0
Changes for manifests/nbiservice.yaml: 11 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -68,6 +68,17 @@ spec:
            limits:
              cpu: 1000m
              memory: 2048Mi
      # Volume mounts for TE data with IS-IS, BW and latency. Uncomment if needed
      #     volumeMounts:
      #       - name: te-data
      #         mountPath: /var/teraflow/nbi/service/ietf_network/te_data.json
      #         subPath: te_data.json
      # volumes:
      #   - name: te-data
      #     hostPath:
      #       Change this path to the actual path on the node where te_data.json is located
      #       path: /home/ubuntu/tfs-ctrl/src/nbi/service/ietf_network
      #       type: Directory
---
apiVersion: v1
kind: Service
+35 −0
Changes for src/nbi/service/ietf_network/yang/ietf-isis-sr-mpls.yang: 35 added lines, 0 removed lines.
Original line number Diff line number Diff line
module ietf-isis-sr-mpls {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-isis-sr-mpls";
  prefix isis-sr-mpls;

  import ietf-network {
    prefix nw;
  }
  import ietf-l3-unicast-topology {
    prefix l3t;
  }
  import ietf-l3-isis-topology {
    prefix isis-topology;
  }

  organization
    "TeraFlowSDN";
  contact
    "TFS";
  description
    "IS-IS SR MPLS extensions.";

  revision 2025-02-19 {
    description
      "Initial revision.";
  }

  augment "/nw:networks/nw:network/nw:node/l3t:l3-node-attributes/isis-topology:isis-node-attributes" {
     container segment-routing-mpls {
        leaf pfx-sid-index {
          type uint32;
        }
     }
  }
}
+44 −0
Changes for src/nbi/service/ietf_network/yang/ietf-isis-topology.yang: 44 added lines, 0 removed lines.
Original line number Diff line number Diff line
module ietf-isis-topology {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-isis-topology";
  prefix isis-topology;

  import ietf-network {
    prefix nw;
  }
  import ietf-inet-types {
    prefix inet;
  }

  organization
    "TeraFlowSDN";
  contact
    "TFS";
  description
    "IS-IS Topology extensions matching user requirements.";

  revision 2025-02-18 {
    description
      "Initial revision.";
  }

  augment "/nw:networks/nw:network/nw:network-types" {
    container isis-topology {
      presence "Indicates IS-IS topology";
    }
  }

  augment "/nw:networks/nw:network/nw:node" {
    container isis-node-attributes {
      leaf node-name {
        type string;
      }
      leaf-list router-id {
        type inet:ip-address;
      }
      leaf-list area-address {
         type string;
      }
    }
  }
}
+4455 −0

File added.

Preview size limit exceeded, changes collapsed.

+53 −0
Changes for src/nbi/service/ietf_network/yang/ietf-l3-isis-topology.yang: 53 added lines, 0 removed lines.
Original line number Diff line number Diff line
module ietf-l3-isis-topology {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-l3-isis-topology";
  prefix isis-topology;

  import ietf-network {
    prefix nw;
  }
  import ietf-l3-unicast-topology {
    prefix l3t;
  }
  import ietf-inet-types {
    prefix inet;
  }

  organization
    "TeraFlowSDN";
  contact
    "TFS";
  description
    "IS-IS Topology extensions matching user requirements.";

  revision 2025-02-19 {
    description
      "Initial revision.";
  }

  augment "/nw:networks/nw:network/nw:network-types" {
    container isis-topology {
      presence "Indicates IS-IS topology";
    }
  }

  augment "/nw:networks/nw:network/nw:node/l3t:l3-node-attributes" {
    container isis-node-attributes {
      leaf node-name {
        type string;
      }
      leaf-list router-id {
        type inet:ip-address;
      }
      leaf-list area-address {
         type string;
      }
      leaf system-id {
        type string;
      }
      leaf level {
        type uint8;
      }
    }
  }
}
Loading
Loading