Skip to content

Commit

Permalink
removed redundant line
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-w-du committed Aug 8, 2021
1 parent 18f24b7 commit a5c1ca6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions examples/A04-visualization/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ set meta data.
```
as151 = base.getAutonomousSystem(151)
as151.getRouter('router0').setDisplayName('AS151 Core Router')
as151.getRouter('router0').setDisplayName('AS151 Core Router')
as151.getHost('web').setDisplayName('example.com')
ix100_lan = base.getInternetExchange(100).getPeeringLan()
ix100_lan.setDisplayName('Seattle')
ix100_lan.setDescription('The Seattle Internet Exchange')
ix100_lan.setDisplayName('Seattle').setDescription('The Seattle Internet Exchange')
ix101_lan = base.getInternetExchange(101).getPeeringLan()
ix101_lan.setDisplayName('New York')
Expand Down
4 changes: 1 addition & 3 deletions examples/A04-visualization/visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,10 @@

as151 = base.getAutonomousSystem(151)
as151.getRouter('router0').setDisplayName('AS151 Core Router')
as151.getRouter('router0').setDisplayName('AS151 Core Router')
as151.getHost('web').setDisplayName('example.com')

ix100_lan = base.getInternetExchange(100).getPeeringLan()
ix100_lan.setDisplayName('Seattle')
ix100_lan.setDescription('The Seattle Internet Exchange')
ix100_lan.setDisplayName('Seattle').setDescription('The Seattle Internet Exchange')

ix101_lan = base.getInternetExchange(101).getPeeringLan()
ix101_lan.setDisplayName('New York')
Expand Down

0 comments on commit a5c1ca6

Please sign in to comment.