X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FAccessors%2FAccessors_site.py;h=f27cd8d9ac59e061234005758075a3d1aa8d3de8;hb=42b6acee776a37d45221a13b37ede58a6578b831;hp=0eadebc4faae156cd3ae4130de80620872a38d93;hpb=3fd00bd91c399465148f2dc334ccf5a49a0f3ad2;p=plcapi.git diff --git a/PLC/Accessors/Accessors_site.py b/PLC/Accessors/Accessors_site.py index 0eadebc..f27cd8d 100644 --- a/PLC/Accessors/Accessors_site.py +++ b/PLC/Accessors/Accessors_site.py @@ -2,8 +2,11 @@ # $Id$ # $URL$ # -# Shortcuts_site.py is the place where you can define your own tag accessors -# this will not be overwritten through rpm upgrades in a myplc-devel packaging +# Accessors_site.py is the place where you can define your own local tag accessors +# this will not be overwritten through rpm upgrades +# +# Now that Sites are taggable too, the name may be confusing, think of is as +# Accessors_local.py # # methods denotes the set of methods (names) that get inserted into the API # it is updated by define_accessors @@ -13,6 +16,8 @@ methods=[] from PLC.Nodes import Node from PLC.Interfaces import Interface from PLC.Slices import Slice +from PLC.Sites import Site +from PLC.Persons import Person #from PLC.Ilinks import Ilink from PLC.Accessors.Factory import define_accessors, all_roles, tech_roles