diff options
| author | Russ White <russ@riw.us> | 2019-04-23 09:24:18 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-23 09:24:18 -0400 | 
| commit | 231e94e32a9dca4c2d3c7deea52293c1adcc39d3 (patch) | |
| tree | a0658fb38610efe7a7af667686fbf7e5537380bc /isisd/isis_te.h | |
| parent | 7d6f618dd54fb33bc0b471ba26e592237b3ddac7 (diff) | |
Revert "isisd: Add IS-IS-TE support per Area"
Diffstat (limited to 'isisd/isis_te.h')
| -rw-r--r-- | isisd/isis_te.h | 14 | 
1 files changed, 10 insertions, 4 deletions
diff --git a/isisd/isis_te.h b/isisd/isis_te.h index beb0c1836f..e9eff08cd1 100644 --- a/isisd/isis_te.h +++ b/isisd/isis_te.h @@ -244,10 +244,11 @@ typedef enum _status_t { disable, enable, learn } status_t;  /* Mode for Inter-AS LSP */ /* TODO: Check how if LSP is flooded in RFC5316 */  typedef enum _interas_mode_t { off, region, as, emulate } interas_mode_t; -#define IS_MPLS_TE(m)    (m && m->status == enable) +#define IS_MPLS_TE(m)    (m.status == enable) +#define IS_CIRCUIT_TE(c) (c->status == enable) -/* Per area MPLS-TE parameters */ -struct mpls_te_area { +/* Following structure are internal use only. */ +struct isis_mpls_te {  	/* Status of MPLS-TE: enable or disable */  	status_t status; @@ -258,11 +259,15 @@ struct mpls_te_area {  	interas_mode_t inter_as;  	struct in_addr interas_areaid; +	/* Circuit list on which TE are enable */ +	struct list *cir_list; +  	/* MPLS_TE router ID */  	struct in_addr router_id;  }; -/* Per Circuit MPLS-TE parameters */ +extern struct isis_mpls_te isisMplsTE; +  struct mpls_te_circuit {  	/* Status of MPLS-TE on this interface */ @@ -313,5 +318,6 @@ uint8_t add_te_subtlvs(uint8_t *, struct mpls_te_circuit *);  uint8_t build_te_subtlvs(uint8_t *, struct isis_circuit *);  void isis_link_params_update(struct isis_circuit *, struct interface *);  void isis_mpls_te_update(struct interface *); +void isis_mpls_te_config_write_router(struct vty *);  #endif /* _ZEBRA_ISIS_MPLS_TE_H */  | 
