Commit Graph

13 Commits

Author SHA1 Message Date
Jed Reynolds
27a94d00e7 vr_profile.py: WIP adding placement logic for moving vrcx into a virtual router
- introduces cached_routers since routers take over 1s to query, self.router_list() updates self.cached_routers
- positional placement math is correct
- adds method for finding cached router given nominal parameters of resource_id and name
- vrcx naming is broken, somehow rd0a becomes a mythical 1.1.rd0a
- netsmith window not updated after moving vrcx yet

Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-02 00:08:00 -08:00
Jed Reynolds
ccf5688f5e vr_profile.py: WIP adding placement logic for virtual routers, getting point within VR bounds
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-02 00:08:00 -08:00
Jed Reynolds
af7002d495 vr_profile.py: WIP adding placement logic for virtual routers
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-03-02 00:08:00 -08:00
Jed Reynolds
5f39aee5bc vr_profile: debugging breakpoint
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-02-26 18:34:01 -08:00
Jed Reynolds
b8cb1df566 vr_profile: WIP improved bounding box
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-02-26 18:34:01 -08:00
Jed Reynolds
ab19b3ae95 vr_profile: WIP computing bounding box of all VRs and vrcx entities
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-02-26 13:45:43 -08:00
Jed Reynolds
4990a1397e vr_profile.py: can query routers and router connections, get coordinates
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-02-26 12:28:40 -08:00
Jed Reynolds
b1aace043e vr_profile.py: can now make Netsmith window update and sync
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-02-23 08:12:26 -08:00
Jed Reynolds
2dbb6a6585 vr_profile.py: adding cleanup and refresh methods
- Refresh is to help update the state of the VirtualRouterFrame
- cleanup for removing a named virtual router

Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-02-16 15:02:13 -08:00
Jed Reynolds
9b541cb20c vr_profile.py: adding dwell time on nc_show_vr to try helping Netsmith update
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-02-16 15:02:13 -08:00
Jed Reynolds
a988444dc8 creates a virtual router, WIP 2021-02-15 16:48:59 -08:00
Jed Reynolds
45cede98a2 vr_profile.py: updates can now create a basic VR in Netsmith 2021-02-02 21:17:57 -08:00
Jed Reynolds
f2504bdf98 extracts class VRProfile from realm.py 2021-02-02 20:55:11 -08:00