-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathNotes.txt
52 lines (35 loc) · 1.27 KB
/
Notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Notes
-----
Working with network name spaces:
- list information about network name spaces.
sudo lsns --type=net
This will include process ids
- Enter a processes name space:
sudo nsenter -t 1530 -n ifconfig
In this case, we run ifconfig in the name space of process 1530
TODO
-----
TODO Items for Network Simulation
- Add loopback for Groundstation
- Add static IP address route for groundstation loopback on uplink
- Add monitoring for ground stations - new column in table
- Make a config file for
# rings
# nodes per rind
# distance for uplink connect
1. We have pydantic classes for use in fast api. Should we make these available to the client side also?
2. Add tests for fast api interfaces
3. Add tests for netsim functions
4. How to stop and start the mnet simulation and the physical simulation?
5. How to ensure that geosimsat runs the same data as the mininet driver?
For right now, just use the same ring and node count when starting
FRR Socket communication
import socket
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
addr = "/var/frr/R18_6/ospfd.vty"
sock.connect(addr)
e = b'show ip ospf database\x00'
sock.sendall(b)
data = sock.recv(100000)
format of response - text, 3 nulls, and a status code
https://docs.frrouting.org/en/latest/mgmtd.html