Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Commit

Permalink
2019.01.12-21:40 - 2019.01.12-23:55
Browse files Browse the repository at this point in the history
  • Loading branch information
Hirki Shirokura committed Jan 12, 2019
1 parent c63fa20 commit c8d2485
Show file tree
Hide file tree
Showing 11 changed files with 5,653 additions and 1,351 deletions.
11 changes: 11 additions & 0 deletions docs/segment_routing/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

# Yonda

- [ ] [Segment Routing Architecture](rfc8402.md)
- [ ] [Segment Routing Policy](draft-ietf-spring-segment-routing-policy-02.md)
- [ ] [Segment Routing MPLS](draft-ietf-spring-segment-routing-mpls-18.md)
- [x] [Segment Routing Header](draft-ietf-6man-segment-routing-header-15.md)
- [x] [SRv6 Network Programming](draft-filsfils-spring-srv6-network-programming-06.md)
- [ ] [Segment Routing Service Chaining](draft-clad-spring-segment-routing-service-chaining-00.md)
- [x] [SR Service Programming](draft-xuclad-spring-sr-service-programming-01.md)

1,115 changes: 1,115 additions & 0 deletions docs/segment_routing/draft-clad-spring-segment-routing-service-chaining-00.md

Large diffs are not rendered by default.

1,576 changes: 1,576 additions & 0 deletions docs/segment_routing/draft-ietf-spring-segment-routing-mpls-18.md

Large diffs are not rendered by default.

1,564 changes: 1,564 additions & 0 deletions docs/segment_routing/draft-ietf-spring-segment-routing-policy-02.md

Large diffs are not rendered by default.

1,356 changes: 1,356 additions & 0 deletions docs/segment_routing/rfc8402.md

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions docs/segment_routing/rfc_txt2md.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/sh
set -ue

FILE=draft-ietf-spring-segment-routing-policy-02.md
FOOTER_REGEX="^Filsfils.*$"
HEADER_REGEX="^Internet-Draft.*$"

H2_REGEX="^[0-9]*\. "
H3_REGEX="^[0-9]*\.[0-9]*\. "
H4_REGEX="^[0-9]*\.[0-9]*\.[0-9]*\. "
H5_REGEX="^[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\. "
H6_REGEX="^[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\. "

echo \[\+\] List the mached as-a Header and Footer
echo \ \ \* header: match=`grep "$HEADER_REGEX" $FILE | wc -l`, regex=\"$HEADER_REGEX\"
echo \ \ \* footer: match=`grep "$FOOTER_REGEX" $FILE | wc -l`, regex=\"$FOOTER_REGEX\"
sed -i -e "s/\($HEADER_REGEX\)//g" $FILE
sed -i -e "s/\($FOOTER_REGEX\)//g" $FILE

echo \[\+\] List the mached as-a H2,H3,H4,H5,H6
echo \ \ \* h2: match=`grep "$H2_REGEX" $FILE | wc -l`, regex=\"$H2_REGEX\"
echo \ \ \* h3: match=`grep "$H3_REGEX" $FILE | wc -l`, regex=\"$H3_REGEX\"
echo \ \ \* h4: match=`grep "$H4_REGEX" $FILE | wc -l`, regex=\"$H4_REGEX\"
echo \ \ \* h5: match=`grep "$H5_REGEX" $FILE | wc -l`, regex=\"$H5_REGEX\"
echo \ \ \* h6: match=`grep "$H6_REGEX" $FILE | wc -l`, regex=\"$H6_REGEX\"
sed -i -e "s/\($H2_REGEX\)/## \1/g" $FILE
sed -i -e "s/\($H3_REGEX\)/### \1/g" $FILE
sed -i -e "s/\($H4_REGEX\)/#### \1/g" $FILE
sed -i -e "s/\($H5_REGEX\)/##### \1/g" $FILE
sed -i -e "s/\($H6_REGEX\)/###### \1/g" $FILE

7 changes: 0 additions & 7 deletions docs/srv6/README.md

This file was deleted.

1,344 changes: 0 additions & 1,344 deletions docs/srv6/draft-clad-spring-segment-routing-service-chaining-00.md

This file was deleted.

0 comments on commit c8d2485

Please sign in to comment.